Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Sep 2002
    Location
    San Antonio, TX
    Posts
    57
    Thanks
    3
    Thanked 0 Times in 0 Posts

    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

  • #2
    ess
    ess is offline
    Regular Coder
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    866
    Thanks
    7
    Thanked 30 Times in 29 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •