Forum Discussion
Tommy_Campbell_
Nimbostratus
Mar 09, 2007Redirect/Reverse Proxy
I've recently been asked to do some URL re-writes for some vanity domain stuff for one of our websites.
A user types http://vanitysitename.company.com into a browser.
That URL gets redirected to http://www.company.com/URLRedirect.aspx?subdomain=vanitysitename
When the response comes back to the browser, the user should see http://vanitysitename.company.com in the address bar of the browser with the content specific to that particular company. The .company.com part of the URL never changes, but the vanitysitename part will be different for each customer.
I've been working on this for about three days. Is this even possible?
- hoolio
Cirrostratus
If you don't want the client to see the change, you'll want to use a rule to rewrite the URI before the request is passed to the web server, but not actually send a redirect to the new location to the client. The browser's address bar will show whatever the address is for the link they clicked on or were redirected to.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects