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.
It is on a IIS.
I know, a newbie question.
Sorry.
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/fold er/yogi/in dex.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/fold er/yogi/in dex.html (one of the links)
I am trying to shorten the url.
Thanks
But for folders deep inside IIS
say like /folder/folder/folder/fold
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/fold
I am trying to shorten the url.
Thanks
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
If you are willing to switch to Apache, then there is a better solution :-)
ShalomC
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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...