mod_rewrite

Alles, was den Apache betrifft, kann hier besprochen werden.

mod_rewrite

Postby gzs » 16. July 2008 14:48

Hallo zusammen,

seit ein paar Tagen bin ich stolzer Besitzer eines MAC und versuche das Ding langsam verwendbar zu machen.

Ich habe es bereits geschafft, den Apache2 zu aktivieren was ja nicht schwer ist und php funktioniert auch. Nur beim Thema mod_rewrite hänge ich fest (das hatte ich am alten Wondoof-Rechner auch nie geschafft).

Gibt es irgendwo eine Anleitung für Dumme die auch ich verstehe?

Danke schonmal.

Gerhard
gzs
 
Posts: 2
Joined: 16. July 2008 14:07

Postby Nobbie » 16. July 2008 16:02

Was willst Du denn wissen? Wie man es installiert/aktiviert, oder welche Kommandos man benutzen kann?

Ansonsten hilft auch immer ein Blick in die Apache Dokumentation: http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Postby gzs » 16. July 2008 16:09

Ich brauche eine Idiotensichere Anleitung wie man es aktiviert.
gzs
 
Posts: 2
Joined: 16. July 2008 14:07

Postby Nobbie » 18. July 2008 10:04

Du musst in der Datei httpd.conf die Zeile

Code: Select all
LoadModule rewrite_module modules/mod_rewrite.so


aktivieren, sprich: falls dort ein '#' am Zeilenanfang steht, lösche das erste Zeichen. Falls die Zeile schon so wie oben drin steht, ist schon alles fertig.

Du mußt Apache neu starten, falls diese Zeile nicht aktiviert war.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

mod_rewrite: Could not set permissions on rewrite_log_lock

Postby deun » 19. July 2008 15:52

Hi,

Well I had a look around to this problem and it seems it is specific to mac os system on intel machines, so I send my post here.

I had installed the apache 2 server from www.serverlogistics.com and it seems to start. However it is impossible to log into my local website with an error in my web browser "can't log to "localhost" server".

By reading the logs I got in [color=brown]/Library/Apache2/logs/error_log [/color] (where there is also a httpd.pid file): crit (14)Bad address: mod_rewrite: Could not set permissions on rewrite_log_lock; check User and Group directives Configuration Failed

So, I commented the line "LoadModule rewrite_module modules/mod_rewrite.so" in [color=brown]/Library/Apache2/conf/httpd.conf [/color] with no efffect at all.

Then I don't know what to do.... any idea please ?

NB : I did not configure or set any htaccess file in any directory.

Denis
------------------------
Version du système : Mac OS X 10.4.11 (8S2167)
Version du noyau : Darwin 8.11.1
deun
 
Posts: 2
Joined: 19. July 2008 13:09


Return to Apache

Who is online

Users browsing this forum: No registered users and 8 guests