Tuesday, October 4, 2011

Re: Force Trailing Slash and No WWW

you should know that it should be the other way around!
none => www

http://domain => http://www.domain

thats just how everyone does it... some conventions make sense to
stick to
but thats thats just my 5 cents


On 3 Okt., 22:41, Ryan Schmidt <google-2...@ryandesign.com> wrote:
> 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: