M
Mr Struggler
Hi Folks,
OK, I have a IIS Server running in my house and as I have a static IP
Address I host a web site from it. I have two virtual mapping to the
directory in where it is stored. so www.mydomain.net or mydomain.net will
arrive at the same web site wwwroot\myWebsite
This works fine except that I am using a javascript menu system. The problem
here is that when I build and launch the site from my PC, I get
localhost/myWebsite/default.aspx
When I visit my site server i of course get
www.myDomain.net/default.aspx
This makes the subdirectory invisible to the user which is what I want.
The problem is I need to apply the same redirection to my local machine
otherwise its expecting to see code either with or without the \myWebsite
depending on where the application is run from.
Cheers
OK, I have a IIS Server running in my house and as I have a static IP
Address I host a web site from it. I have two virtual mapping to the
directory in where it is stored. so www.mydomain.net or mydomain.net will
arrive at the same web site wwwroot\myWebsite
This works fine except that I am using a javascript menu system. The problem
here is that when I build and launch the site from my PC, I get
localhost/myWebsite/default.aspx
When I visit my site server i of course get
www.myDomain.net/default.aspx
This makes the subdirectory invisible to the user which is what I want.
The problem is I need to apply the same redirection to my local machine
otherwise its expecting to see code either with or without the \myWebsite
depending on where the application is run from.
Cheers