c# - Handle the httpmodule in iis -
c# - Handle the httpmodule in iis -
if see yahoo site, when come in www.yahoo.com, yahoo server gets ip, , redirects specific domain (yahoo.ca,yahoo.us,....)
now, want this,not special site, want request send iis (www.1.com,www.2.com,www.3.com) , algorithm, redirect user new site example:
request: www.1.com go -> www.yahoo.com request: www.2.com go -> www.google.com ....
i want handle iis, no each webconfig's site.
can help me?
implementing ihttpmodule can this, i've done similar (not exactly) next guide:
http://www.stardeveloper.com/articles/http-module-to-redirect-requests-from-root-domain-to-www-subdomain/
and using page can find source country of request
another solution in page
c# asp.net
Comments
Post a Comment