This is a migrated thread and some comments may be shown as answers.

Redirect to other IIS website

0 Answers 22 Views
Getting started with ASP.NET
This is a migrated thread and some comments may be shown as answers.
NS
Top achievements
Rank 1
NS asked on 23 May 2007, 06:40 AM
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

No answers yet. Maybe you can help?

Tags
Getting started with ASP.NET
Asked by
NS
Top achievements
Rank 1
Share this question
or