Forum Discussion
johndegern_4568
Nimbostratus
Apr 30, 2010Forcing lowercase only works the first time
So I am trying to force ALL HTTP requests to lowercase and i'm using this rule:
when HTTP_REQUEST {
HTTP::path [string tolower [HTTP::path]]
}
It works on the host and it wo...
hoolio
Cirrostratus
May 04, 2010It's possible to do this in an iRule, but it could get very complicated and resource intensive. If you can't change the pages themselves, you could try rewriting the URLs in the HTML responses on the IIS servers. I think IIS URL rewrite plugin should support this:
http://www.iis.net/download/URLRewrite
Easily replace Web application URLs to produce user and search engine friendly results
URL Rewrite permits Web administrators to easily replace the URLs generated by a Web application in the response HTML with a more user friendly and search engine friendly equivalent. Links can be modified in the HTML markup generated by a Web application behind a reverse proxy. URL Rewrite makes things easier for outbound response content and headers rewriting with outbound rewrite rules that work with HTTP request and response headers and with IIS server variables.
Aaron
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
