...

View Full Version : Problem access top-level directory with URL if being redirected to subdir?!



hmmdinger
11-04-2008, 08:11 PM
I am not even sure how to explain this properly, but here goes:

Let us say that at IP address xx.xx.xx.xx is a folder called "domainname.com" which itself contains the index.php home page for a site.

Typing http://xx.xx.xx.xx into a browser loads the index.php within "domainname.com" folder.

There is a second folder at the top level called "anotherdomainname.com" which contains a different index.php, for a different site.

What would I type into a browser to view the index.php of this other folder?!

What is telling http://xx.xx.xx.xx that the index.php of the particular folder is what is should load? I have even placed a dummy index.html page at the top level, but it is ignored.

hmmdinger
11-04-2008, 09:53 PM
This turned out to be the very common issue of having multiple web sites connected to a single host folder/IP.

I talked to my host and got things squared away.

Have a nice day.

Naveed88
06-24-2009, 01:42 PM
HI
--
i m facing almost similar problem
but with the hosting server

i m having
www.DomainName.com/DomainName/home.aspx

instead of
www.DomainName.com/home.aspx

while it is working fine another hosting server

- virtual directory structure is same as it was...
- All links are working properly like login/logout/contact etc
- but all menus populated by xml file with url = "~/SearchProducts.aspx"
is not working

-----
I tried with all ~,~/, ../, // but does not work




Thanks for any help

Naveed Anjum



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum