Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [wamp] htaccess - nieznane komendy?
Forum PHP.pl > Forum > Serwery WWW
pitbull82
Witam

Mam serwer WAMP i chciałem po raz pierwszy w życiu skorzysać z htaccess. Niestety nie działa sad.gif

Gdy odpalam stronę, w której katalogu jest htaccess widzę:
Cytat
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost 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.


W logach natomiast pisze:
Cytat
[Sat Mar 05 20:18:45 2005] [alert] [client 127.0.0.1] c:/program files/wamp/www/cos/.htaccess: Invalid command 'RewriteEngine', perhaps mis-spelled or defined by a module not included in the server configuration


Tak jakby komenda "RewriteEngine" w ogóle nie była znana...

Czy ktoś z Was wie o co chodzi?
dr_bonzo
Masz modul rewrite zainstalowany?
Dobrze wpisales to Rewrite....?
pitbull82
Dzięki. Nie wiedziałem, że trzeba załadować moduły. Myślałem, że starczy linijka "AllowOverride all". Teraz już błędu nie ma. Pora zrozumieć jak działa htaccess tongue.gif
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.