SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Oct 1999
    Location
    New York, NY
    Posts
    826
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Caps within a web address

    Hi -

    I've noticed that in a web page address some parts of it are case-sensitive. I think it's only parts after the .com, right. For example:

    http://www.mysite.com/PageOne/index.html

    is NOT the same as

    http://www.mysite.com/pageone/index.html

    and will result in a 404 error. Is there a way around this, perhaps adding something to my .htaccess file? Or is it just something I have to be aware of?

    Thanks.

    Josh

  2. #2
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Domain names aren't case sensitive, but the directory structure that follow it is depending on your server make, I believe.

    Apache is case sensitive; I don't think ISS is (I could always be wrong, there--it could be a Windows/Unix thang :-). In Apache, you can't use mod_rewrite to make files case insensitive, which would have been my first thought. But they seem to suggest that you can with mod_speling (sic, ironically ;-). 'Never tried it myself though, and of course, your server has to have it. :-)

    ~~Ian
    Last edited by Ian Glass; Aug 29, 2002 at 12:08.


Bookmarks

Posting Permissions

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