Forum Moderators: phranque

Message Too Old, No Replies

Trailing Slashes for subdirectories at subdomains

apache Trailing Slashes for subdirectories

         

ProFiler

9:48 am on Dec 18, 2003 (gmt 0)

10+ Year Member



Hey,

I have a problem on a server I own (so I have access to httpd.conf)

Itīs probably easy as pie to fix but I donīt know where to look.

The problem is that:

[SUBDOMAIN.mydomain.com...]
will lead to a cannot find server (IE) "page" while
[SUBDOMAIN.mydomain.com...]
Will show either the index file inthere or the directry contents.

HOWEVER!...

...both
[mydomain.com...]
as well as
[mydomain.com...]

work! So this problem only occurs for subdirectories!

I completely read over the apache directives page a few times but to no avail.
Running apache 1.3x on a Linux RH 9.

Any help will be greatly appreciated!

Longhaired Genius

10:49 am on Dec 18, 2003 (gmt 0)

10+ Year Member



I don't know for sure, but I think two possible directives that might help with this would be UseCanonicalName and ServerName.

ProFiler

11:16 am on Dec 18, 2003 (gmt 0)

10+ Year Member



Ok, Iīll dig up my print of those 2 directives again and hit the crapper and re-read them :) Iīll reply here later or edit my post here later!

------

Edit ok awesome!

Turning
UseCanonicalName Off

(it was On)

Did the trick, thanks longhair dude!

BTW this forum needs reputation points system so you can give other members repuation points for helping! Just a thought :)