Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [Access][Mod_Rewrite] Htaccess współczynnikiem nie działania plików
Forum PHP.pl > Forum > Przedszkole
Dominator
Witam, otóż gdy mam plik na serwerze .htaccess i mam w nim:

RewriteRule ^([a-z]+)/([a-z\-]+)$ /$1/$2.py [L]

Czyli zamiana index.php na index.py.

Mój problem polega na tym że pliki nie chcą się włączyć. O to co mam:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@strona.xaa.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Pawel_W
Twoje wyrażenie nie pozwala na "." w nazwie pliku, więc jakim cudem ma Ci zamienić index.php?
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.