Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [wamp] htaccess - nieznane komendy?
pitbull82
post
Post #1





Grupa: Zarejestrowani
Postów: 167
Pomógł: 0
Dołączył: 30.04.2004
Skąd: Częstochowa

Ostrzeżenie: (0%)
-----


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?


--------------------
Go to the top of the page
+Quote Post
dr_bonzo
post
Post #2





Grupa: Przyjaciele php.pl
Postów: 5 724
Pomógł: 259
Dołączył: 13.04.2004
Skąd: N/A

Ostrzeżenie: (0%)
-----


Masz modul rewrite zainstalowany?
Dobrze wpisales to Rewrite....?


--------------------
Nie lubię jednorożców.
Go to the top of the page
+Quote Post
pitbull82
post
Post #3





Grupa: Zarejestrowani
Postów: 167
Pomógł: 0
Dołączył: 30.04.2004
Skąd: Częstochowa

Ostrzeżenie: (0%)
-----


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


--------------------
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 07:47