Forum

Access denied via filesystem

Christian Cruz
4 March 2016, 17:36
I want to configure a Vhost that point to my home directory.

This is my VHost

VirtualHost {
Hostname = test.dev
WebsiteRoot = /home/christian/Dropbox/websites/test/
AccessLogfile = /home/christian/Dropbox/websites/test/logs/access.log
ErrorLogfile = /home/christian/Dropbox/websites/test/logs/error.log
TimeForCGI = 5
StartFile = index.php
UseFastCGI = PHP5
}


But show error 403

127.0.0.1|Wed 02 Mar 2016 18:54:46 -0600|/home/christian/Dropbox/websites/test/|access denied via filesystem


Can you help me?

Hugo Leisink
4 March 2016, 17:39
Check the access rights of each directory: /home, /home/christian, /home/christian/Dropbox, etc. Each directory must be accessible (chmod +x) for the user your webserver is running with. The index.php must be readable (chmod +r) for that user.
Christian Cruz
4 March 2016, 18:16
Thanks Hugo!

It work's

See you!
This topic has been closed.