Forum Discussion
AndrewO_4840
Feb 19, 2009Nimbostratus
I think you're confusing the issue somewhat by your request:
> c. The user sees a redirect in the browser to be https://somesite.com/something ad NOT the real server in the pool on a different port.
Unless you really screw things up, the user would NEVER see the real server in the URL. In fact, you'd have to go a long way out of your way to make that happen.
Here's a stab at what I think you're after:
when HTTP_REQUEST {
if { ![HTTP::uri] starts_with "/something" } {
HTTP::uri "/something/[HTTP::uri]"
}
}
This basically says that if the URI does not begin with "/something", prepend /something to the URI before passing it onto the server. This is transparent to the client. The client never sees /something,