Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PHP] przepisywanie linków na 1and1 .htaccess
Forum PHP.pl > Forum > Przedszkole
bialko0019
Witam.

Montuje nowy serwis w nowym hostingu, 1and1.pl i natknąłem sie na jeden błąd i nie wiem jak go rozwiązać.

Gdy wpisuję komendę :
Kod
RewriteEngine On
RewriteRule ^([a-zA-Z-_0-9]+)$ $1.html


wyświetla się informacja ;
Cytat
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webadmin@kundenserver.de 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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Dodam, że plik .htaccess jest ok, bo na innym serwerze bardzo ładnie chodzi ?



krispak
Wewnetrzny blad serwera..
Sprawdz czy nie masz dodatkowych zakow w .htaccess lub utworz jeszcze raz plik .htaccess i zapisz w utf-8 bez BOM
yevaud
sprawdz logi serwera - blad 500 powinien cos z sensem wypisac do logow i wtedy bedziesz wiedzial czego szukasz
sprawdz czy serwer ma w ogole mod rewrite
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.