Forum Moderators: phranque

Message Too Old, No Replies

www.mydomain.com/subnot working

but www.mydomain.com/sub/ works fine

         

acidic

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

10+ Year Member



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.

fwwebs

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

10+ Year Member



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

<Directory /forum/>

acidic

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

10+ Year Member



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.