Welcome to WebmasterWorld Guest from 3.227.233.6

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

www.mydomain.com/subnot working

but www.mydomain.com/sub/ works fine

     
1:29 am on Dec 22, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 27, 2003
posts:52
votes: 0


I just changed over to a new dedicated server and have had to set everything, including apache, up myself. One small problem is that www.mydomain.com/forum gives me a "The page cannot be displayed" error but www.mydomain.com/forum/ works fine. Basically it only works if I have the / at the end.

I guess this is something to do with apache... just wandering what I have to change.

Thanks a lot for any help.

2:40 am on Dec 22, 2003 (gmt 0)

New User

10+ Year Member

joined:Dec 22, 2003
posts:20
votes: 0


Do you have a directory directive that has an ending slash?

<Directory /forum/>

8:20 am on Dec 22, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Aug 27, 2003
posts:52
votes: 0


I have spent about 6 hour searching for the answer and have finally found the it!

My problem is called the "trailing slash error" and is solved by setting "UseCanonicalName" in htpd.conf to off. Just in case anyone has the same problem as me.