Forum Moderators: phranque

Message Too Old, No Replies

trailing slash problem in subdomain

subdomain's directory wont work wihout slash

         

tabish

3:16 pm on Oct 12, 2006 (gmt 0)

10+ Year Member



Hello,

I am facing strange problem with my subdomains, for example:

[subdomian.mydomain.com...] (it doesnt work)

[subdomian.mydomain.com...] (it works)

So if i dont put trailing slash after my directory, my browser gets hang and wont display anything.. i will keep waiting waiting for ages..

Please help me.

Regards
Tabish

jdMorgan

3:26 pm on Oct 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If it hangs "forever" instead of giving you an error, that indicates a misconfiguration or an error in existing configuration or .htaccess code.

Normally, Apache mod_dir [httpd.apache.org] will append missing trailing slashes, so you might want to investigate that as well.

Also, check your server error log file -- It often contains very useful information.

Jim

tabish

3:37 pm on Oct 12, 2006 (gmt 0)

10+ Year Member



I contacted my server people.. they are saying..

You must add the trailing slash after the word or it will look in that directory for a file "directory" not a directory.

What is this now?

Regards
Tabish

jdMorgan

3:37 pm on Oct 12, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The server is misconfigured, or does not have mod_dir loaded. See the link in my post above, and read the document.

Jim

[edited by: jdMorgan at 3:38 pm (utc) on Oct. 12, 2006]

spinnercee

3:41 pm on Oct 12, 2006 (gmt 0)

10+ Year Member



If the directory does not have a DirectoryIndex file and the directory is very long (has a lot of files), the server could take a very long time to generate the directory listing, especially if you have a lot of extra info like descriptions, etc.