Strato / Apache2 mod_rewrite Modul installieren
Posted: 2005-01-18 19:33
Hallo!
Normalerweise ist in der httpd.conf kein mod_rewrite drin.
Also habe ich folgende Zeile eingebaut:
LoadModule rewrite_module /usr/lib/apache2-prefork/mod_rewrite.so
Da liegt das Teil auch und wenn ich den Apachen reloade geht auch alles.
So dann wollte ich in der httpd.conf:
AddModule mod_rewrite.c
hinzufügen und wieder reloaden - aber - nix ... Fehler:
Syntax error on line 220 of /etc/apache2/httpd.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
(220 = AddModule mod_rewrite.c)
Meine Apache error Log sagt das zu mir:
[Tue Jan 18 19:24:55 2005] [notice] Apache/2.0.48 (Linux/SuSE) configured -- resuming normal operations
[Tue Jan 18 19:24:55 2005] [warn] long lost child came home! (pid 9911)
Mache ich die Zeile AddModule mod_rewrite.c aus der httpd.conf wieder raus geht alles wieder.
Nunja ... um ehrlich zu sein :?:
Kann mir mal bitte jemand helfen was ich da jetzt machen muss?
Normalerweise ist in der httpd.conf kein mod_rewrite drin.
Also habe ich folgende Zeile eingebaut:
LoadModule rewrite_module /usr/lib/apache2-prefork/mod_rewrite.so
Da liegt das Teil auch und wenn ich den Apachen reloade geht auch alles.
So dann wollte ich in der httpd.conf:
AddModule mod_rewrite.c
hinzufügen und wieder reloaden - aber - nix ... Fehler:
Syntax error on line 220 of /etc/apache2/httpd.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration
The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
(220 = AddModule mod_rewrite.c)
Meine Apache error Log sagt das zu mir:
[Tue Jan 18 19:24:55 2005] [notice] Apache/2.0.48 (Linux/SuSE) configured -- resuming normal operations
[Tue Jan 18 19:24:55 2005] [warn] long lost child came home! (pid 9911)
Mache ich die Zeile AddModule mod_rewrite.c aus der httpd.conf wieder raus geht alles wieder.
Nunja ... um ehrlich zu sein :?:
Kann mir mal bitte jemand helfen was ich da jetzt machen muss?