LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-21-2004, 10:35 AM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Rep: Reputation: 35
is apache case-sensitive?


I am having trouble with my apache server: It is case sensitive.
Now correct me if I am wrong, but isn't a web server in the WWW supposed to be case-insensitive?
I don't want my users to end up getting 404s for using wrong case, is there anyway to switch this off?

Markus
 
Old 06-21-2004, 11:11 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
Quote:
I am having trouble with my apache server: It is case sensitive.I am having trouble with my apache server: It is case sensitive.
Yes.
Quote:
Now correct me if I am wrong, but isn't a web server in the WWW supposed to be case-insensitive?
Nope. The web isn't a Microsoft product, and the technology was developed mainly using mainframes and UNIX-type systems. Since Windows is case insensitive, IIS will treat Index.html and index.html as the same file, but this has nothing to do with the http protocol. Apache relies on the filesystem so on Windows I believe Apache is case insensitive.
Quote:
I don't want my users to end up getting 404s for using wrong case, is there anyway to switch this off?
You can use mod_speling.


Håkan
 
Old 06-21-2004, 01:57 PM   #3
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Original Poster
Rep: Reputation: 35
>Nope. The web isn't a Microsoft product, and the technology was developed mainly using mainframes and UNIX-type systems. Since Windows is case insensitive, IIS will treat Index.html and index.html as the same file, but this has nothing to do with the http protocol. Apache relies on the filesystem so on Windows I believe Apache is case insensitive.

That would make sense. IIS is not very used on the web, apache is. But apache mostly on windows, I am affraid, although I don't know why anybody would use a windows server instead a linux server to run apache.

Although I think that case-sensitivity is a good thing in linux, on the web I don't think so, since you encounter many users that believe (not just out of using windows) that "Table" and "table" is not a completely different object whatsoever.

Thanks for the pointer, I will investigate into this module to make my apache "dumb down" for average websurfers (which will not be my primary public anyway ;-)

Markus
 
  


Reply


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
apache web server case sensitive?? jjd228 Linux - Newbie 3 03-24-2004 04:19 AM
Why is linux case sensitive? Jestrik Linux - General 9 12-16-2003 07:05 AM
mySQL LIKE search is case sensitive? icepig Linux - Software 4 11-14-2003 04:29 PM
case sensitive groupadd? sysmaster Linux - General 0 07-28-2003 04:53 AM
case-sensitive issue david_wliu Linux - General 4 03-06-2003 10:46 PM


All times are GMT -5. The time now is 01:52 PM.

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