?
Solved

redirect or url fowarding on a IIS web server

Posted on 2004-04-07
4
Medium Priority
?
890 Views
Last Modified: 2010-04-20
How do I make config http://mywebserver/test/test/yo/index.html to appear by typing in http://mywebserver/yo?
It is on a IIS.

I know, a newbie question.

Sorry.
0
Comment
Question by:wicker_pk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Expert Comment

by:jeffqyzt
ID: 10777889
This works for IIS 5.1/6.0...

From the IIS Control Panel:

1) Browse to your web site in the list of web sites.
2) Choose Properties
3) Go to the "Documents" tab
4) Make sure "Enable Default Document" is checked, and then make
   sure your introductory page is listed (index.html, in your case) Click the "add" button to  
   add it if it's not.
5) Highlight the name of your intro page and move it to the top of the list,
   and/or delete the other entries in the list.

That should do it...
0
 

Author Comment

by:wicker_pk
ID: 10778259
I have that done, for that I use the basic index.html, etc etc etc

But for folders deep inside IIS

say like /folder/folder/folder/folder/yogi/index.html

When the users type in http://myweb.com//folder/folder/folder/folder/yogi/index.html

I want to try to let the URL display as

htp://myweb/yogi/

This would not be the homepage, just one of the links.

the directory tree would be something like this

index.html (home page)
  /images/*.*
  /test/*.*
  /etc/*.*
  /docs/*.*
  /folder/folder/folder/folder/yogi/index.html (one of the links)

I am trying to shorten the url.

Thanks


0
 
LVL 33

Expert Comment

by:shalomc
ID: 10778470
Create a virtual directory that points at the deep folder.
If you are willing to switch to Apache, then there is a better solution  :-)

ShalomC
0
 
LVL 3

Accepted Solution

by:
frederichenry earned 2000 total points
ID: 10824467
It's easy.

Say your root is c:\inetpub\www, and the actual site is c:\inetpub\www\test\test\yo\index.html.

Put a folder under c:\inetpub\www\ called yo, so c:\inetpub\www\yo.

In the IIS manager, browse to the root site (c:\inetpub\www), and if you expand it, you'll see your yo folder.  Right click on the yo folder, go to properties, and in the directory tab set up a re-direction to the c:\inetpub\www\test\test\yo\ folder and make sure that index.html is a default document in the documents section

Hope that helps..
0

Featured Post

The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

752 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