Forum Discussion
Grayson_149410
Nimbostratus
11 years agoiRule 301 Redirect using Wildcard
We are currently running Sharepoint to host our public website. When the user types in www.company.com the URL gets updated to www.company.com/Pages/Home.aspx. This also applies to all other sites...
- 11 years ago
How about this?
when HTTP_RESPONSE { if {[HTTP::status] == 302}{ HTTP::respond 301 Location "[string tolower [HTTP::header Location]]" } }
Brad_Parker_139
Nacreous
11 years agoHow about this?
when HTTP_RESPONSE {
if {[HTTP::status] == 302}{
HTTP::respond 301 Location "[string tolower [HTTP::header Location]]"
}
}
Grayson_149410
Nimbostratus
11 years agoI was wondering what would I need to do to find another http status? Some of the sites use 200 requests and would like to make it and if this or if that.
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