I recently had to reinstall Ubuntu and everything else as my SSD crashed.
I've got Apache/MySQL/PHP set up and can access localhost/ without problems. Running PHP and MySQL works fine as well.
I keep my projects in a Dropbox folder (since the crash) located at /home/powerbuoy/Dropbox/Projects/
and have set up VHOSTs that point to some of the projects in there. I've also set up /etc/hosts
so that I can access my projects through http://project-name.dev
.
However, when I try to visit http://any-project.dev
all I get is 403 forbidden
. I've run chmod -R 777 Projects/
and all the files and folders are now green in the terminal. That didn't help.
I checked the error-logs and they say:
[crit] [client 127.0.0.1] (13)Permission denied: /home/powerbuoy/Dropbox/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
But there isn't even supposed to be a .htaccess
file anywhere there.
I even set up a completely empty project (/home/powerbuoy/Dropbox/Projects/test/index.php
with just <?php phpinfo()
inside), set up a VHOST and a http://test.dev
URL. I get the same error here.
Any ideas?
Thanks
Edit: I tried moving my test project to the desktop (/home/powerbuoy/Desktop/test/
) and now it works :P
Perhaps it has something to do with the projects being located inside the Dropbox folder??