![]() |
Apache on Linux
I was forced to move from hosting my site/files and a bunch of friends on my Windows desktop to my Linux (Ubuntu) laptop. (Apache on both.)
However, I'm now running into a bunch of 404 errors because of Linux case sensitivity. Yes, it's technically possible to rename things to make it work, but there are several hundred (thousand?) files which may or may not need changing. Is there any Apache mod to make it case insensitive? IE, I need /file.HTML to go to the correct file of /file.html. Yeah, I could setup a bunch of Apache aliases or symbolic links, but there's a lot of files out there... Hoping to see some insensitivity soon, ;) Ryan |
Re: Apache on Linux
Umm, AFAIK, file.html and file.HTML are considered different files on unix computers. If Apache were to remove case sensitivity, the confusion over which file to select in a certain directory would be very problematic.
|
Re: Apache on Linux
mod_speling (yes, it is deliberately misspelled) should help you out (case is one of the things it can take care of)... or, alternatively, take a look at http://linux.omnipotent.net/article....ticle_id=11710 (which isn't actually a module; but, rather a trick in that you can use Samba+Apache to make things case-insensitive)
|
Re: Apache on Linux
Quote:
I just want to know if there is a way to have it ignore case in an incomming URL (so, select a file which has mathing letters, but ignore case). Maybe, as an alternative, is there some way (using URL rewrites or such) to translate all URL's into lowercase? --EDIT-- Thanks, Tim. That fixes it for me. |
Re: Apache on Linux
Are all the filenames a certain way? Like are they all lowercase? If so, you could use mod_rewrite to 'fix' that.
|
Re: Apache on Linux
Quote:
|
| All times are GMT -5. The time now is 10:51. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi