Solved

redirect or url fowarding on a IIS web server

Posted on 2004-04-07
4
880 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 500 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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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