Forum Discussion
discovinnie_148
Nimbostratus
Mar 21, 2014301 redirect
HI,
I need to get a specific uri that is giving a 302 redirect to respond with a 301:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/x648.html" } {
HTTP::respond ...
Mar 22, 2014
Hi!
Have you tried some debug logging? Check if the if statement is triggered by issuing this within the if statement:
Log local0. "Triggered for [HTTP::uri]"
I would also log your string map to verify the output.
/Patrik
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