Forum Discussion
Guillaume_Bruss
Nimbostratus
Feb 21, 2006Http redirect V2 (For newbie)
Hello,
I saw in the forum I can add this sort of rules
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect https://[HTTP::host][HTTP::uri "/some_java_app"]
}
}
I...
Colin_Walker_12
Feb 22, 2006Historic F5 Account
I'm not positive I completely understand the question, but it sounds like you're asking if we can help you send a request to a webserver at an address like "www.domain.com/some_java_app" while making the URL appear to the user as if it's just "www.domain.com".
This would require setting up an HTTP::uri rewrite on the HTTP_REQUEST event, and on the return HTTP_RESPONSE event, so that the request was written one way for the server, and another for the client.
While this is probably possible, it gets rather tricky relatively quickly, because you have to keep in ind that the server will likely need the information in the URI to continue processing data from the client.
-Colin
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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