I have a broken PHP Cake site that I did not write, but I was entrusted with a fix. I have a main controller, but no css / js / images, and when I click the link, I get 404 not found. I believe something is wrong with mod_rewrite or docroot configuration in apache.
While reading the Cake documentation, I came across this:
"application / Webroot In the production setup, this folder should serve as the document root for your application. The folders here also serve as places for CSS styles, images and JavaScript files.
In my / etc / apache 2 / sites-enabled / this-site, I see the following:
DocumentRoot /u02/data/docroots/this_site
<Directory /u02/data/docroots/this_site>
Options -Indexes
AllowOverride none
Order deny,allow
Allow from all
</Directory>
So my question is: should the configuration block described above have: / u 02 / data / docroots / this_site / app / webroot as DocumentRoot and?
Elsewhere, can you think of fixing this problem?