altonbr
July 10th, 2008, 05:15 PM
I'm currently moving a website from a shared environment to a dedicated and I'm having trouble with an Apache directive called CaseInsensitive (http://www.google.ca/search?q=apache+%22caseinsensitive+on%22&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a).
The website runs - on both machines - in a standard LAMP environment using Apache 2.2, MySQL 5.0 and PHP 5.2.4.
Both machines are mirrored and thus have a .htaccess file in the root directory that contains the directive 'CaseInsensitive On'.
When sitting on the new dedicated, Ubuntu server, it returns with a 500 internal script error. When I comment the line out, it goes away.
I can find absolutely zero documentation for this directive, but it works perfectly in the shared environment.
I did find an article that stated mod_speling had to be enabled with 'CheckSpelling On' in /etc/apache2/mods-available/speling.conf
It works, sort of, but it doesn't work as well as 'CaseInsensitive On', which is still giving me errors.
CheckSpelling On -- allows you to spell a canonical URL such as
http://example.com/TEST and have it redirect to http://example.com/test. However, when the URL ends in a forward slash '/', indicating a directory, Apache will literally look for /TEST/ and not offer any case-insensitivity unlike when the 'CaseInsensitive On' directive is enabled.
Does anyone have experience with 'CaseInsensitive On'?
The website runs - on both machines - in a standard LAMP environment using Apache 2.2, MySQL 5.0 and PHP 5.2.4.
Both machines are mirrored and thus have a .htaccess file in the root directory that contains the directive 'CaseInsensitive On'.
When sitting on the new dedicated, Ubuntu server, it returns with a 500 internal script error. When I comment the line out, it goes away.
I can find absolutely zero documentation for this directive, but it works perfectly in the shared environment.
I did find an article that stated mod_speling had to be enabled with 'CheckSpelling On' in /etc/apache2/mods-available/speling.conf
It works, sort of, but it doesn't work as well as 'CaseInsensitive On', which is still giving me errors.
CheckSpelling On -- allows you to spell a canonical URL such as
http://example.com/TEST and have it redirect to http://example.com/test. However, when the URL ends in a forward slash '/', indicating a directory, Apache will literally look for /TEST/ and not offer any case-insensitivity unlike when the 'CaseInsensitive On' directive is enabled.
Does anyone have experience with 'CaseInsensitive On'?