Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-20-2007, 08:31 PM   PM User | #1
OpenIntro
New Coder

 
Join Date: Sep 2002
Location: San Antonio, TX
Posts: 57
Thanks: 3
Thanked 0 Times in 0 Posts
OpenIntro is an unknown quantity at this point
Automatically Create Virtual Directories

I am wanting to set up my site so that when the user goes to www.mysite.com/news it will bring up www.mysite.com/news.htm (but leaving it in the address bar as www.mysite.com/news)

I know how to set up virtual directories in IIS to do this, but the problem is, I am wanting to do this with quite a few different pages and possibly with each new page I create. Is there a way in IIS (or otherwise) to automatically set this up when a new page is created?
__________________
----------------------------------------
*Let's All Do Kamikaze Shots!*
http://www.kamikazeshots.com
OpenIntro is offline   Reply With Quote
Old 09-20-2007, 09:40 PM   PM User | #2
ess
Regular Coder

 
Join Date: Oct 2006
Location: United Kingdom
Posts: 865
Thanks: 7
Thanked 29 Times in 28 Posts
ess will become famous soon enough
check the following tutorial which goes in great details on how might achieve that for a website running on IIS

http://www.codeproject.com/aspnet/URLRewriter.asp
ess is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:09 PM.


Advertisement
Log in to turn off these ads.