Results 1 to 11 of 11
  1. #1
    Join Date
    Feb 2004
    Posts
    84

    How to disable case sensitive nature in Linux hosting

    i wanted to shift my website from windows to Linux but i am scared that will through so many errors of due to case sensitive file name recognition of Linux hosting. Is there a host or way where we can disable this feature in Linux?

  2. #2
    Join Date
    May 2003
    Posts
    1,664
    Well if you are just talking about URLs then it wont matter. The way the web works www.domain.com is the same as WWW.DOMAIN.COM. If you are talking about file naming then no you can't switch it off. That is the nice thing about *nix systems, they are true. You can have a directory of linux, Linux, LiNuX and they are all different.

  3. #3
    Join Date
    Sep 2000
    Location
    Alberta, Canada
    Posts
    3,109
    Not sure where there would be a problem?

    As your Web pages list the Hyperlinks and presuming the case is correct, there will not be a problem. If it is a situation where you've been using Windows to correct case-sensitivity for you, then some editing will have to be done.

    With Linux, you say what you mean and mean what you say.

    http://yourdomain.com/somefile.html means exactly that and is different from
    http://yourdomain.com/SomeFile.html

    I know this doesn't work on a Windows computer, when creating pages on your Home Computer, but that is a problem with Windows, not with the code.
    PotentProducts.com - for all your Hosting needs
    Helping people Host, Create and Maintain their Web Site
    ServerAdmin Services also available

  4. #4
    Join Date
    Feb 2004
    Posts
    84
    http://yourdomain.com/somefile.html means exactly that and is different from
    http://yourdomain.com/SomeFile.html
    Thanks for replies. Yes what exactly i am looking at is to find Linux hosting where it would interpret http://yourdomain.com/somefile.html and http://yourdomain.com/SomeFile.html as same. I have more than 500 pages and links to it from other sites.

    Any idea, help even if i have to write a script and put it in website to interprets Somefile.htm = somefile.htm

    Thanks
    Kartik

  5. #5
    Join Date
    Feb 2004
    Posts
    84
    by the way i have one suggestion from another forum

    If you are using apache, use mod_spelling. This will correct for capitalization problems.
    Does this will solve my problem? if so how many host here who can do this kind of change for my site?

  6. #6
    Hi, kartiksh

    You should do a search on the offers section for that, Now if you do not see mod_spelling or anything related to your questions , you should contact the host directly and ask them either by chat or by phone.

    Good Luck

  7. #7
    Join Date
    Jul 2004
    Posts
    73
    It will only correct problems if you know that (for example) you want all your .HTML files to be lower case.

    Can you be more specific about the problem? If I were you I would just change all my file names and references to them to lower case.
    Last edited by _rse; 08-01-2005 at 04:14 AM.

  8. #8
    Join Date
    Feb 2004
    Posts
    84
    Sorry for any confusion, but what I want

    1. Existing file name FileName.htm (sentence case) should not return 404 if someone open it from outbound link where the file is linked as filename.htm (lower case).
    2. After few help from others I came to know that
    There isn't a way to tell linux to ignore the case. You can alter the requests by telling Apache to change all of the requests to all lower case probably using mod_spelling.
    Thanks all.

  9. #9
    Join Date
    Jun 2004
    Location
    Northwest Colorado
    Posts
    4,630
    kartiksh, I understood your problem from the first post. I've no idea why people in this thread are having trouble understanding your question. It is a common one. My suggestion to you, is make it your presales question. That will quickly weed out hosts who don't get it.

    Folks, domain names are case insensitive. That isn't the OP's question. He means the PATH and FILE names. In windows, these are case insensitive. On Linux, and BSD, etc. file.html and FILE.html are different files. On Windows, they are not.

    What kartiksh wants to do is avoid going through all his pages looking for case inconsistencies. Indeed, mod_spelling is designed to account for this:

    http://httpd.apache.org/docs/1.3/mod/mod_speling.html
    Eric J. Bowman, principal
    Bison Systems Corporation coming soon: a new sig!
    I'm just a poor, unfrozen caveman Webmaster. Your new 'standards' frighten, and confuse me...

  10. #10
    Join Date
    Sep 2004
    Location
    Uk
    Posts
    422
    Maybe mod_rewrite could help as well?
    I have never used mod_spelling though.
    So maybe it will help more.

  11. #11
    Join Date
    Feb 2004
    Posts
    84
    Thanks Eric!

    I will follow your advice i.e. making this presales question :-)

    PS: i am looking for Linux VPS.
    Last edited by kartiksh; 08-01-2005 at 10:18 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •