Link to home
Start Free TrialLog in
Avatar of wicker_pk
wicker_pk

asked on

redirect or url fowarding on a IIS web server

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.
Avatar of jeffqyzt
jeffqyzt

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...
Avatar of wicker_pk

ASKER

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


Avatar of Shalom Carmel
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
ASKER CERTIFIED SOLUTION
Avatar of frederichenry
frederichenry

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