Forum Discussion
DaveC_21078
Altostratus
Aug 23, 2010Remove www before passing request to web server
Because of a licensing issue, we have to strip www. from the URL before passing it to the web server, if the user typed in www. So a request to www.mypage.com/blah/blah2... should get re-written mypag...
DaveC_21078
Altostratus
Aug 24, 2010Thanks Joe. That fixed it.
when HTTP_REQUEST {
if { [HTTP::host] starts_with "www."} {
HTTP::redirect ]
}
}
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
