Forum Discussion
Grayson_149410
Jan 22, 2015Nimbostratus
iRule 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...
- Jan 22, 2015
How about this?
when HTTP_RESPONSE { if {[HTTP::status] == 302}{ HTTP::respond 301 Location "[string tolower [HTTP::header Location]]" } }
Brad_Parker
Cirrus
How about this?
when HTTP_RESPONSE {
if {[HTTP::status] == 302}{
HTTP::respond 301 Location "[string tolower [HTTP::header Location]]"
}
}
Grayson_149410
Jan 22, 2015Nimbostratus
That worked like a champ. Really appreciate it.
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