Forum Discussion
Juerg_Wiesmann
Jan 27, 2009Nimbostratus
If you are using a Standard Virtual Server I would recommend using a HTTP Class Profile (finally added to your Virtual)
On Configuration add host to www.allforme.com
and on URI Paths add /player
On the Actions
set send to field to redirect and set Redirect Location to http://www.allforme.com/maintenance
So the user will be directed to the new URL if a Match is made.
If you want the user to stay on the same site you have to use rewrite send it to a pool with the destination Host in it and do a rewrite.
http://www.allforme.com[string map { /player /maintenance } [HTTP::uri]]
This will replace the backend Requests with the new Hostheader and replace the URI Path "/player" with "/ maintenance" and keep the rest of the URL
Good luck
Wiesmann