CakePHP Webroot .htaccess

Posted by Mr A on Stack Overflow See other posts from Stack Overflow or by Mr A
Published on 2012-05-31T04:36:36Z Indexed on 2012/05/31 4:40 UTC
Read the original article Hit count: 202

Filed under:
|

Normally one would have a webroot that looks like this:

/www/ | +--index.php | +-- js/ | | | +-- xyz.js | +-- css/ | | | +--xyz.css | +---etc.....

With my setup, it is going to be most beneficial for me to move everything into a common subfolder, leaving the index.php of the Cake app in the root. I.e:

/www/ | +--index.php | | +-- resources | +-- js/ | | | +-- xyz.js | +-- css/ | | | +--xyz.css | +---etc.....

What is my .htaccess going to look like?

Thanks!

© Stack Overflow or respective owner

Related posts about .htaccess

Related posts about cakephp