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...
Michael_Yates
Nimbostratus
May 03, 2010The first part of a URL is universally case insensitive [HTTP::host], but the URI [HTTP::uri]can be case sensitive depending on the operating system hosting the website.
Windows (IIS) - links will get to your pages regardless of capitalization (or lack of it).
Linux/Unix - if your site is hosted in a Linux/Unix environment and you rename your page www.example.com/PopularPage.htm to www.example.com/popularpage.htm, you could suddenly find yourself facing a drop in traffic as people clicking on the search engine link get a 404 error telling them that the page cannot be found.
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
