Forum Discussion
Techgeeeg_28888
Nimbostratus
Jan 13, 2014Appending the URI to the incoming request
Hi Guys,
I hope someone must have had a similar requirement and may help me quickly.... I have a web server which is accessible by typing "company.service1.com/xx/yyy" . I want the users to type...
Techgeeeg
Nimbostratus
Jan 14, 2014I have used this one.
when HTTP_REQUEST {
if {[HTTP::path] eq "/" } {
This will give you a 'stealth' change of path
HTTP::uri "/xx/yyy"
}
}
Arie
Altostratus
Jan 14, 2014This works only if the client doesn't use the actual file name of the home page. If the home page ever does a postback this is guaranteed to be an issue, but I'd also be weary of users who tack it onto their original request. You may want to check for that (e.g. index.html, default.aspx).
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