Link to home
Start Free TrialLog in
Avatar of ijenkins
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.

Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Can't you set the Home Directory to /oranges/etc/etc as you wish ?

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
ASKER CERTIFIED SOLUTION
Avatar of rama_krishna580
rama_krishna580
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.


Actually, instead of LOCALHOST...use the Machine Name
Avatar of frugle
frugle

and call the machine ORANGES

http://oranges/

anyone for pie?
Any progress, ijenkins ?