Results 1 to 2 of 2
Hi,
I run a website and I am migrating to a Fedora 9 server (Apache) (From Win server 2k3 (Also Apache - Can you do double brackets? )). On my ...
- 02-20-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
File Path Case Problem
Hi,
I run a website and I am migrating to a Fedora 9 server (Apache) (From Win server 2k3 (Also Apache - Can you do double brackets?
)). On my Win server
Would return the same asCode:http://mydomain.com/bob/pix.gif
(Those images arn't real but its a good demonstration - And bob is a good name)Code:http://mydomain.com/BoB/PIx.gif
However if the file was actualy called
I could only access in on my linux server using that case (Any of this making sense?Code:/var/www/html/mysite/BOB/pix.gif
)
However, because I am an idiot, in my HTML some file paths are uppercase, some are lowercase and some are a mixture. Is there any way of changing a setting in Apache or Fedora so it doesn't pay attention to the case of the files, just opens them as it would on a Win system.
Regards,
Sam Rudge
- 02-21-2009 #2Just Joined!
- Join Date
- Feb 2009
- Location
- USA
- Posts
- 21
tou can add a module called mod_spelling but there will be a little performance drop with that, alternatively if all you need is to ignore capitalization you can add this to httpd.conf ...
Code:RewriteEngine On RewriteMap lowercase int:tolower RewriteRule ^(.*)$ ${lowercase:$1}


Reply With Quote