Redirect to other IIS website

1 posts, 0 answers
  1. NS
    NS avatar
    179 posts
    Member since:
    Jan 2007

    Posted 23 May 2007 Link to this post

    Hello,
    Anyone know to do this from code ?

    If a user enters my site: http://myserver/mysite
    i want to check against the mysite string in the address.
    If "mysite" is found in the string, I want to check to NT logon for a specific domain.
    If a specific NT domain is found, I want to redirect the user to a same copy of the site on my server --> http://myserver/BAMySite
    I know how to do this, but how do I attach the subdirectories and pages that the user was surfing on the mysite to the BAMysite ? (eg http://myserver/mysite/forms/general/default.aspx to http://myserver/bamysite/forms/general/default.aspx
Back to Top