Apache does not read subfolders or other files

Asked

Viewed 716 times

-2

Recently, I formatted my computer and installed Ubuntu 14.04 and as always, I changed the apache root Document to: /home/user/Workspace/web.

Inside this folder I cloned a project of mine made in Cakephp 2.4, however, my project is only opening the homepage.

When I try to access any controller, CSS, jQuery, it presents this error:

    Not Found

    The requested URL /projeto/css/style.default.css was not found on this server.
    Apache/2.4.7 (Ubuntu) Server at localhost Port 80

Question: Apache settings missing any changes?

  • 1

    has already tested if it is permission sudo chmod 777 -R /var/www/seu_projeto ?

  • Yes, I’ve done that too... I’ve changed, Document root is not /var/www/ now it’s /home/user/Workspace/project

  • The server root (http://localhost) you can access?

  • Yes, it works...

1 answer

0

Probably the mod_rewrite not active in your apache, check if this active.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.