• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

Upper/Lower cased letters in a URL

Hey all,

Oddly, I just realized that URL's are case-sensitive.   I mean, I accidentally typed in a website addy in caps and it did not work, but when I went to lowercase...I was taken to the correct site...can anyone explain?
0
ModifyMe
Asked:
ModifyMe
1 Solution
 
Darius GhassemCommented:
If the website or DNS is running Linux or Unix  then yes it could be case sensitive.

http://www.wisegeek.com/are-urls-case-sensitive.htm

http://www.coolnotions.com/Articles/Article_02.htm

 
0
 
omarfaridCommented:
both lower and upper case website names are working for me!
what browser are you using / os?
0
 
Daniel McAllisterPresident, IT4SOHO, LLCCommented:
Let's be clear and consistent for ALL OS's:

 - The DOMAIN part of a URL is not, and cannot be case sensitive (for web URLs or e-mail addresses)
 - The username part of an e-mail address (and by inference then, the entire e-mail address) is not SUPPOSED to be case sensitive
 - The file locator in a URL is entirely host-dependent (server-side), and so may or may not be case sensitive
    In my experience, IIS (Windows) servers are NOT case sensitive, Apache (Linux) servers ARE case sensitive

Thus, for e-mail:
  Test@DoMaIn.CoM is DEFINITELY equivalent to Test@domain.com
  Test@DoMaIn.CoM is SUPPOSEDLY equivalent to test@domain.com

and for web pages:
  http://domain.com/index.html is DEFINITELY equivalent to HTTP://DOMAIN.COM/index.html
  but http://domain.com/index.html is PROBABLY different from HTTP://DOMAIN.COM/INDEX.HTML

These are the IETF specs...
 - DNS is a non-case-sensitive protocol (think back to the early days of the Internet and there were dozens of OSes being used -- some of which didn't have case-sensitive character sets!).
 - SMTP also comes from the same era, but some versions of MS Exchange WERE case sensitive (in violation of the specs) -- but MS really didn't care
 - HTTP came along much later and allows the server to decide how to handle case sensitivity on its part (the part AFTER the domain name!)

Lesson over... hope you learned something!

Dan
IT4SOHO
 
0
 
ModifyMeAuthor Commented:
Thank you for not sending me to links, but rather explaining.

Great explanation.

Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now