On Apr 13, 2011, at 23:23, Krissy Masters wrote:

> Is there a simple way to enforce the url to lowercase?
> I am not using apache and all I found is apache mod ways to do this. I am 
> running nginx and no luck finding anything on that front. Not sure if this 
> could be handled by cake of if it should be done thru the server?

In general, the path part of a URL is case-sensitive. Most web servers treat 
the URL http://www.example.com/foo as a different resource than 
http://www.example.com/FOO -- though some web servers might treat them the 
same, especially if the URL represents a file on the server's disk and the 
server has a case-insensitive filesystem, like Mac OS X and Windows do by 
default.

What is the behavior that you are wanting to achieve? Is it that, when a user 
requests http://www.example.com/FOO, they are 301 redirected to 
http://www.example.com/foo? If so, why are your users requesting URLs with 
uppercase letters in the first place?




-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to