Sorry about the rubish title, this problem has really confused me. Here we go....
(not valid web addresses below, just an example)
I created a page called thepage.aspx in the web folder Myweb.co.uk/sites/thepage.apsx when i openwww.myweb.co.uk/sites/thepage.aspx, for some reason the page that is opened iswww.myweb.co.uk/different/folder/thepage.aspx (but the browser address bar displays the correct address)
thepage.aspx, could be default.aspx or contact.aspx, so for different sites desplays different info. Why would the browser goto the address and instead of reading the file thats right in front of it, go to a totaly differnt folder, and find a file with the same name and display that?
Please can someone help me on this odd event... i am extreamy puzzeled and cant think of any reason why?
Thank you for your time
Darren.breenen--
Regarding this...
breenen wrote:
...Sorry about the rubish title, this problem has really confused me. Here we go....
(not valid web addresses below, just an example)
I created a page called thepage.aspx in the web folder Myweb.co.uk/sites/thepage.apsx when i openwww.myweb.co.uk/sites/thepage.aspx, for some reason the page that is opened iswww.myweb.co.uk/different/folder/thepage.aspx (but the browser address bar displays the correct address)...Please can someone help me on this odd event... i am extreamy puzzeled and cant think of any reason why?...
...it looks like the site where you are building your page has subdomains and/or virtual directories setup...
...your hosting provider should be able to give you the actual map of apparent-names to actual-locations...
...in short, the general idea behind a virtual directory is that one can create a directory namedhttp://LocalHost/MySite and then make that "virtual directory" point to the actual-directory of c:\myMachineName\MyFolder\MySubFolder\ , or any other local physical directory. This allows one to create "friendly" site names and it makes it easier to create/delete/change the physical locations of a site without having to change the "virtual" address. The odd part is that depending upon how one accesses the files, one may see the virtual-path or the actual-path at a given time, which is what seems to be happening to you.
Sub-domains are similar to and leverage the concept of a virtual directory with the added affect that they can be "piggy-backed" off of an existing domain name. Suppose that one owns the domainhttp://www.WebLogicArts.com then that person can create any number of "sub-domain names" based on that domain, (provided the hosting company allows that), and those sub-domains would look generally like thishttp://MySubDomain1.WebLogicArts.com ,http://MySubDomain2.WebLogicArts.com ,http://MySubDomain3.WebLogicArts.com and so on.
HTH.
Thank you.
0 comments:
Post a Comment