How do I use web.config to redirect pages?

Discussion in 'ASP .Net' started by Henry Stock, Jul 26, 2010.

  1. Henry Stock

    Henry Stock Guest

    I understand that there is a way to redirect the location of a web page
    by using a web.config file.

    For example: Say my URL points to my Root directory, but I want my web
    site to reside in a sub folder named httpdocs.

    How would I design the web.config file to redirect incoming http
    requests to the httpdocs folder?
     
    Henry Stock, Jul 26, 2010
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Benny Ng
    Replies:
    9
    Views:
    10,949
    Benny Ng
    Oct 13, 2005
  2. Nathan Sokalski
    Replies:
    5
    Views:
    1,294
    Gaurav Vaish \(www.Edujini-Labs.com\)
    Jan 10, 2007
  3. CSharpner
    Replies:
    0
    Views:
    1,414
    CSharpner
    Apr 9, 2007
  4. Nathan Sokalski
    Replies:
    4
    Views:
    536
    Nathan Sokalski
    Dec 21, 2006
  5. huoge
    Replies:
    0
    Views:
    312
    huoge
    Jul 11, 2003
  6. Sal
    Replies:
    1
    Views:
    1,685
  7. Nathan Sokalski
    Replies:
    4
    Views:
    580
    Nathan Sokalski
    Dec 21, 2006
  8. Replies:
    0
    Views:
    217
Loading...