On Fri, Apr 13, 2012 at 9:43 AM, kdubya <[email protected]> wrote:
> I have always made rewrite rule changes in the /site/.htacess file
> exclusively.
>
> I don't really know why theĀ  /site/app/.htaccess (or for that matter
> /site/app/webroot/.htaccess) files exist. I can't even dream up a scenario
> where those files would ever be applied - as long as the /site/.htaccess
> file exists.

It depends on what the DocumentRoot is set to. Of course, if one has
the ability to set it to /path/to/site/app/webroot in the main config
then the rewrite rules can be placed there and all .htaccess files
removed for better performance.

-- 
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