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
Cirrus
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 agoThat worked like a champ. Really appreciate it.
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
