0
I have a client’s website http://suprimark.com.br/
it was working normally, but when the service agency was accessing, it appeared like this, without css
, and it has calls to the files .css
. I have no idea what it is, but I tried to access the css file through the URL and says that it was not found, but the same is found in the folder yes, webroot
from Cakephp. The error is 404
public_html/. htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
# RewriteRule ^$ app/webroot/ [L]
# RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
public_html/app/. htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
public_html/app/webroot/. htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
Checks the folder permission setting. You have placed the files in the folders
webroot/css/
? active on the server mod-rewrite ? places its code.– Hy-brazil
How is the configuration of
mod_rewrite
? Error is 404 or 403?– Erlon Charles
The error is 404. I posted the . htaccess files
– Alisson Acioli
which directory exactly is css? (example: webroot/css/home/style.css)
– Skywalker
public_html/app/webroot/css/main.css, etc.
– Alisson Acioli
The css files are available within the app folder in
http://suprimark.com.br/app/css/main.css
– Hy-brazil
how do I change to pick from webroot ?
– Alisson Acioli