Monday, October 3, 2011

Re: Force Trailing Slash and No WWW

On Oct 3, 2011, at 15:21, creat1v1ty wrote:

> yeah, I'm familiar with the rewrite rule that would generally be used,
> however I'm not sure how to do it within the Cake framework.
>
> In Cake there are 3 .htaccess files:

> In which of these files should I apply the non-www and trailing slash
> rules?

In a production environment, ideally you'd turn off .htaccess processing altogether and put any needed rules in your httpd.conf.


--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: