You are here
Rick - Sun, 2017/10/15 - 06:04
Hi,
Newbie here and I'm using TurnKey's Lighttpd - which is awesome!
But, I have a issue when it comes to my game server using it as a fast download server, it won't let the players download the files due to some lines using upper- or lowercase - way Too much work for me to rename all files as a workaround.
I've been searching through the forum and google how to install mod_speling, but no luck :/
Anyone up to describe how to install it from start to end?
Thanks in advance!
Forum:
Where?
Where?
Hi Rick, I'm pretty sure that was a spammer...
Also renaming the files is really the best way to go. If you use something like mod_spelling, then everytime a user browses your server, it needs to work harder as it needs to look for all possible filenames that may match. If you rename your files, that only needs to be done once!
Linux has an array of awesome commandline utils which makes things like this pretty easy. E.g. to replace all upper case characters with their lower case equivalent for all html files in /var/www, try 'rename':
If you want to test what it will do before you actually do anything, add the '-n' switch. E.g.:
Essentially it uses (Perl format) regular expressions to change the names. So ou can also use this to swap out any other characters which are problematic.
Add new comment