Forum Discussion
Pav_70755
Sep 20, 2011Nimbostratus
HTTP Re-Direct uri replace?
I have the following rule written
when HTTP_REQUEST {
if { [HTTP::uri] contains "?storyId=" } {
pool STAGE_directmarketing.thomsonnet.co.uk-80
...
Pav_70755
Sep 21, 2011Nimbostratus
elseif { [HTTP::uri] starts_with "/win" } {
set wininsert [string range [HTTP::uri] 4 end]
HTTP::respond 301 "Location" "http://www.news.com/News-Advice$wininsert"
Im using that and it works but it starts with a 301 and ends with a 302 is there a way to permanentley keep it as a 301?
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