Page 1 of 1

Apache nimmt Verzeichnisse nicht, nur mit / am Ende der URL

Posted: 2004-01-08 10:55
by cori
Hallo!

Ich habe ein Problem, dass mein Apache2 bei Verzeichnissen nicht automatisch index.html und so nimmt, nur wenn ich am Ende der URL ein / hinzufüge.

Bsp.: manual ist ein Verzeichnis mit einer index.html

http://localhost/manual ---> geht nicht
http://localhost/manual/ ---> geht und nimmt auch die index.html

Weiß einer, woran das liegen könnte?

Thx, Franz

Re: Apache nimmt Verzeichnisse nicht, nur mit / am Ende der URL

Posted: 2004-01-08 10:56
by captaincrunch
Hätte ein einzelnes Posting dazu nicht auch gereicht?

Re: Apache nimmt Verzeichnisse nicht, nur mit / am Ende der URL

Posted: 2004-01-08 11:00
by deagh
Hi,

ich denke mal http://httpd.apache.org/docs/misc/FAQ.h ... servername sollte dein Problem lösen.
Also falscher Alias z.B.

bb

Re: Apache nimmt Verzeichnisse nicht, nur mit / am Ende der URL

Posted: 2004-01-08 11:19
by floschi
Das so genannte trailing slash problem ;)

http://httpd.apache.org/docs/mod/mod_dir.html

Re: Apache nimmt Verzeichnisse nicht, nur mit / am Ende der URL

Posted: 2004-01-08 11:31
by cori
Merci!
Der "ServerName" war nicht gesetzt!

Thx, Franz