Make Webserver Case Insensitive
Make apache2 webserver case insensitive with apache2 mod_speling
Some games require FastDL to be case insensitive, apache2 is case sensitive by default. Enabling apache2 mod_speling ignores case sensitivity on a LAMP stack. This guide applies to debian and ubuntu. At the bottom of this page are external guides that include CentOS/Fedora. This workaround will not work on shared webhosting where editing apache2 files is not available.
Enable mod_speling:
1
a2enmod speling
Copied!
Restart apache:
1
service apache2 restart
Copied!
Apache needs to be told which directories mod_speling is applied to, open the webserver's .conf file located inside /etc/apache2/sites-available/ and set AllowOverride to All.
Example:
1
<Directory /var/www/html/>
2
Options Indexes FollowSymLinks
3
AllowOverride All
4
Require all granted
5
</Directory>
Copied!
Set apache2 to use the .conf file you just edited:
1
a2ensite name_of_.conf_file
Copied!
In /var/www/html/ or your webserver directory, create a .htaccess file with this:
1
<IfModule mod_speling.c>
2
CheckSpelling On
3
CheckCaseOnly On
4
</IfModule>
Copied!
Test the configuration by creating a file, like test.txt, and see if it can be opened in browser by typing TEST.txt, test.TXT, etc. If it works, you are finished.
​
Guides from other sources:
Export as PDF
Copy link