views:

94

answers:

3

Can I force a domain name to appear CamelCase in the browser's address bar? All browsers seem to force lowercase on the domain. Can this be accomplished with the .htaccess file... or some other means?

I'm generally fine with the all lowercase default, but have a client who has asked, and would like to give a definitive answer.

A: 

It may be worth checking why the client wants camel case in browser's address bar? My guess is that their requirement is different from wanting to force camel case :)

Chetan
It was not a requirement, it was a request relating to their branding.
kingjeffrey
+3  A: 

Your client is clearly concerned about an aspect of the web that they do not understand and sadly for them cannot change.

Without using an IDN upper case chars are forbidden in domain names by standards as upper case and lower case are treated without significance.

You cannot do this sensibly in all browsers, sorry.

You might be able to buy an internationalized domain name and make use of Homographs[1] to represent upper case chars. But this is clearly daft and requires your end-user to have a browser that will support this properly

[1] http://en.wikipedia.org/wiki/IDN_homograph_attack

IanNorton
And for those browsers that *won't* show the IDN properly (for security reasons), you'll see Punycode instead. If your client has a problem with lower case letters, he'll *definitely* have a problem with Punycode.
Michael Madsen
-1 and flagged. It is a reasonable technical question. I have great respect for my client, and do not appreciate your disparaging them.
kingjeffrey
@kingjeffrey: I think you're taking Ian's answer too personally. It's an idiom; I'm sure he's not suggesting that your client literally be committed.
Michael Petrotta
@Michael who has respect for clients? They interfere between the computer-chair interface.
Will
@Michael, it was clear Ian did not literally think my client was certifiably insane. He just thought them an ass. To this, I take offense. The tone of this answer is unnecessarily confrontational, and uncharacteristic of what I have experienced at stackoverflow.
kingjeffrey
@IanNorton, thank you for editing your answer. I have removed my down vote. For context, my client was not demanding or unreasonable. They just asked if it was technically possible. If the answer is no (as it appears to be), I am sure they will give me no grief.
kingjeffrey
A: 

I have been unable to find any way to accomplish this. Apparently, it can not be done.

kingjeffrey