Solved

URGENT:  IIS Virtual directories

Posted on 2004-04-30
6
181 Views
Last Modified: 2010-04-06
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.

0
Comment
Question by:ijenkins
6 Comments
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 10965426
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
0
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 500 total points
ID: 10965568
I agree with Ryancys , you can set the Home directory to..

C:\...\oranges\ - location where all your application files exists. so under configuration menu look for HomeDirectory and set it and try you won;t be having any problems..it should be ok now..
after you set ...try

htt://localhost:8080/ - it will run..

best of luck..

R.K
0
 

Expert Comment

by:BentSpear
ID: 10981717
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.


0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Expert Comment

by:BentSpear
ID: 10981723
Actually, instead of LOCALHOST...use the Machine Name
0
 
LVL 10

Expert Comment

by:frugle
ID: 11013196
and call the machine ORANGES

http://oranges/

anyone for pie?
0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 11015952
Any progress, ijenkins ?
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Menu Trouble 8 46
How to dynamically load/unload User control in ASP.net page? 2 203
css border raidius issue 7 91
Import data into excel from web page 10 102
Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question