locked
How to work with URL Rewriting RRS feed

  • Question

  • User673081487 posted

    HI ALL,

    I have uploaded my web pages and all to the remote server and I want to know how to work with URL rewriting of my site and I dont want to create any sub domains but still I want to work with it  like I have sub domains.

    For example:

    www.mysite.com and I want to work like www.mysite.com/sub or www.sub.mysite.com and I want to get that "sub" letter from the link and I want to redirect to another page. And that sub is not my domain name.

    THANKS IN ADVANCE

    Thursday, December 22, 2005 2:29 AM

All replies

  • User-1421203536 posted

    Partially relative post is at http://forums.asp.net/1152076/ShowPost.aspx

    and Yes you can extract the "sub" keyword from www.mysite.com/sub , for that you have to allow ISAPI extention  in IIS to accept requests like  *.* . This is needed because by default IIS refuses all the requests that are not listed in ISAPI application mapping extensions.On the other hand if you are in a valid domain like www.sub.mysite.com  you can easily get the the keyword "sub" from the Requested URL string.

    Monday, December 26, 2005 10:16 PM