Last post Jul 29, 2012 02:27 AM by venkat.mru
Jul 26, 2012 06:27 PM|PsychoMunky|LINK
So this is what I'm trying to achieve...
I have a site with the URL with the following format:
somedb can be many different DBs. The problem is, different DBs require different versions of the site. These different versions are setup as subsites of the parent site.
For example somedb.mysite.com/1.0 and somedb2.mysite.com/2.0
Currently I'm using Response.Redirect() the parent site to redirect to the proper version. What I'm HOPING to do is to HIDE the version number so that all DBs appear to be using the same site, and so the URL appears the same if a DB is updated to a newer
I've been messing around with using RewritePath and Server.Transfer in a custom HTTPHandler in with not a lot of success... The main problem (from what I can gather) is that Rewrite and Transfer only work within the same site, but the individual
versions are technically different subsites sites.
Does anybody have any ideas how I may be able to achieve what I'm trying to do?
Jul 29, 2012 02:27 AM|venkat.mru|LINK
Can you try 301 or 302 redirection with URL shortner?.