Forum Discussion
Michael_Smith_6
Nimbostratus
Feb 25, 2009HTTP Rewrite
All,
I apologize to be posting something that I think should be simple, but I just can't seem to figure out how to do. I've went through the forum, but I just can't find this specific ...
hoolio
Cirrostratus
Feb 25, 2009Hi Mike,
To rewrite the requested path and insert a string, you can use HTTP::path. If the application includes references to the inserted string in response headers or content, you can remove them. Here is an example of the first option. Let me know if you need to rewrite the response.
when HTTP_REQUEST {
Insert /string/ to beginning of path
HTTP::path "/string/[HTTP::path]"
}
Aaron
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
