ijenkins
asked on
URGENT: IIS Virtual directories
I have a slight issue with IIS. A developer created a web application with us. Let us just call it "oranges" for reference. This web application was a sub web of the default web. The root url was
http://localhost/oranges/
I have since created it's own web listening on port 8080. So the root url is:
http://localhost:8080/
However, he has a lot of code that is looking for /oranges/etc/etc....
So I created a virtual directory called "oranges". This url works:
http://localhost:8080/oranges/
But I want
http://localhost:8080/
to be all that the user will see. How can I do this? Is it a matter of configuring IIS? BTW, it is a .NET project. Or is it a matter of a configuration in .NET that would map /oranges to /.
Please help.
http://localhost/oranges/
I have since created it's own web listening on port 8080. So the root url is:
http://localhost:8080/
However, he has a lot of code that is looking for /oranges/etc/etc....
So I created a virtual directory called "oranges". This url works:
http://localhost:8080/oranges/
But I want
http://localhost:8080/
to be all that the user will see. How can I do this? Is it a matter of configuring IIS? BTW, it is a .NET project. Or is it a matter of a configuration in .NET that would map /oranges to /.
Please help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ijenkins,
If this is IIS 5 or IIS6
Just create a new Web Site.
for the IP address use ALL ASSIGNED
Then pick 8080 as the port, localhost as the Host Header
map it to C:\...\oranges as the new root
ALSO...make sure the IUSR_<SERVERNAME> and IWAM_<SERVERNAME>
permissions are set correctly to the oranges directory.
If this is IIS 5 or IIS6
Just create a new Web Site.
for the IP address use ALL ASSIGNED
Then pick 8080 as the port, localhost as the Host Header
map it to C:\...\oranges as the new root
ALSO...make sure the IUSR_<SERVERNAME> and IWAM_<SERVERNAME>
permissions are set correctly to the oranges directory.
Actually, instead of LOCALHOST...use the Machine Name
Any progress, ijenkins ?
Basically, you can set the Home Directory, by clicking the Site's Property, then select Home Directory tab, then edit the Local Path to map the path you want.
Hope this helps