The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

URL always needs to be same 'CaSe' ! How to change?

Discussion in 'General Discussion' started by Jason_C, Mar 20, 2007.

  1. Jason_C

    Jason_C Member

    Joined:
    Dec 5, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    When i visit a page on my site, i must always use the same 'case' as i have stored it in.

    How do i change this so it saves as all lowercase letters and not mixed case letters.



    Please advise.

    Thanks


    J
     
    #1 Jason_C, Mar 20, 2007
    Last edited: Mar 20, 2007
  2. brendanrtg

    brendanrtg Well-Known Member

    Joined:
    Oct 4, 2006
    Messages:
    311
    Likes Received:
    0
    Trophy Points:
    16
    From my unerstanding, other than domain name which can be anything small or BIG, the file names MUST BE the same case.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's possible, but requires apache to have the mod_speling module installed:
    http://httpd.apache.org/docs/1.3/mod/mod_speling.html

    You can the add the CheckSpelling On directive to a local .htaccess file to have case-insensitive matches. However, if you're not the admin of the server then you're possibly out of luck.
     
  4. DGermancp

    DGermancp Active Member

    Joined:
    Feb 25, 2006
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NJ, USA
    cPanel Access Level:
    Reseller Owner
    The question was: "...saves as all lowercase letters and not mixed case letters."
    You have not mentioned the program you are using to upload the pages.

    If you want to change a file or directory that you already have a mixed case to lowercase
    use ftp to rename it.
    +++++++++++++++++++++
    Referencing to pages or directories is case sensitive.
    Have you tried creating a link using an alternate case?

    example: actual directory is

    wedding

    > ln -s wedding Wedding

    Creates a symbolic link known as Wedding

    now access EITHER www.ddd.com/wedding or www.ddd.com/Wedding

    Although this does not solve all the problems,
    in actual use it can solve most.
     
    #4 DGermancp, Apr 1, 2007
    Last edited: Apr 1, 2007
Loading...

Share This Page