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

Apache, Lighttpd, nginx, Cherokee
Post Reply
cori
Posts: 21
Joined: 2003-06-07 19:04
Location: Weimar
Contact:
 

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

Post 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
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

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

Post by captaincrunch »

Hätte ein einzelnes Posting dazu nicht auch gereicht?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
deagh
Posts: 37
Joined: 2003-10-01 09:43
Location: 63...
Contact:
 

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

Post 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
floschi
Userprojekt
Userprojekt
Posts: 3247
Joined: 2002-07-18 08:13
Location: München
Contact:
 

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

Post by floschi »

Das so genannte trailing slash problem ;)

http://httpd.apache.org/docs/mod/mod_dir.html
cori
Posts: 21
Joined: 2003-06-07 19:04
Location: Weimar
Contact:
 

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

Post by cori »

Merci!
Der "ServerName" war nicht gesetzt!

Thx, Franz
Post Reply