In Cakephp, contained .htaccess files are as follows: /.htaccess /app/.htaccess /app/webroot/.htaccess /var/www/app/webroot/.htaccess /var/www/app/.htaccess /var/www/.htaccess