Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-16-2003, 01:50 PM   #1
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Rep: Reputation: 30
Apache case sensative under Linux?

when I got my Linux/Apache server up and transfered my web pages over to it, alot of my image links and page links quit working. I have traced the problem to the fact that many of the image and page extensions are in upper case and some in lower case. .JPG as opposed to .jpg etc. I had these pages hosted on an NT4.0/apache server previously and everything was fine, the problem seems to only be when apache is running on a linux box. Is there something that I can configure somewhere in apache or something that would make it not be case sensative?
Old 01-16-2003, 01:58 PM   #2
LQ Newbie
Registered: Nov 2001
Location: Sunderland, UK
Distribution: Mandrake 8.1
Posts: 21

Rep: Reputation: 15
I doubt there will be an option - case sensitive filenames are part and parcel of the linux operating system (and Unix-based OSes as well). The best option would probably be to rename all the files to all lowercase, or failing that change the url references within the html to point to the exact (i.e. case sensitive) filename.

Hope this helps,

Old 01-16-2003, 02:12 PM   #3
Registered: Aug 2002
Location: Kansas City
Distribution: Mandrake 9.2 and a couple of RH7.3 Apache servers
Posts: 153

Original Poster
Rep: Reputation: 30
changing the files to be consistant was of course my first thought but were talking literally hundreds of links across several pages. I built everything in front page which is the root of the problem Im sure, but front page doesnt seem to pay much atention to that stuff, so I some of the links are the problem and then some of the problem is the file names them selves. I guess thats what I will have to do though. Thanks
Old 01-16-2003, 03:48 PM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68

Reading through the FAQ suggested to use that module for case-INSENSITIVE url's. This might also apply for the image links...

Another option (which I couldn't help with since I am that newbie-ish) would be to use something like sed to convert the uppercase letters all to lowercase, or vice versa.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
java file dialog not case sensative. exodist Programming 3 12-31-2004 02:12 PM
Apache - Possible to turn of Case Sensivity? stormblast Linux - Software 1 08-23-2004 10:05 AM
Apache redirect (special case) SWAT Linux - Newbie 0 07-24-2004 06:29 PM
is apache case-sensitive? browny_amiga Linux - Software 2 06-21-2004 02:57 PM
Apache and upper or lower case. dsiguy Linux - General 3 02-04-2003 12:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration