1
I have Cakephp in version 1.3.15 installed on a Centos server and the same project that works on the Internet, the local server only loads text and nothing else.
As I enable developer mode, if there was an error, it would load.
I believe the error must be in the css path.
Checks whether the
.htaccess
this in root folder– Jeferson Assis
@Jefersonassis, you say the . htaccess of cake, correct?
– fabricio_wm
<IfModule mod_rewrite.c>
 RewriteEngine on
 RewriteRule ^$ app/webroot/ [L]
 RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
– fabricio_wm
It may be that your apache is not configured to read the
.htaccess
or the wayrewrite
is disabled. If you are usingwamp
it is very common to happen ¡– Wallace Maxters
@Wallacemaxters. I am using Centos 6.7 text mode. From what I saw apache is correct. You would have something to check in apache?
– fabricio_wm
@Wallacemaxters. From what I’ve seen, I don’t have . htacess on Centos other than cakephp.
– fabricio_wm
@fabricio_wm makes a test. Strip the
IfModule
. If it sucks, then mod_rewrite is not enabled :)– Wallace Maxters
@Wallacemaxters I used vi to check the httpd.conf file that is inside the directory /etc/httpd/conf/ When checking was Allowoverride All I could not check the . htacess pq is as if it has been inaccessible.
– fabricio_wm
@put the image at the end of the question. See if this helps.
– fabricio_wm
what do you mean by "htaccess inaccessible"?
– Daniel Omine
I am using Centos via virtualbox as I said earlier. When sending via ssh, ask if I want to replace. when giving an ls in the folder that the file is in, it does not appear as if it is hidden. When using Vi to edit, it happens as if I were creating a new file, @Danielomine
– fabricio_wm