I am trying to set up a couple ov VritualHost in my Apache, but I would like to put the DocumentRoot of these
virtual host on folders outside the basic www folder.
It happens that I get alwasy "Permission Denied".
My httpd.conf follows:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin
[email protected]
DocumentRoot /home/giuseppe/www
ServerName www.example.com/www
ErrorLog logs/host.www.projects-error_log
CustomLog logs/dummy-host.example.com-access_log common
<Directory "/home/giuseppe/www">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin
[email protected]
DocumentRoot /home/developper
ServerName www.example.com
ErrorLog logs/host.developper-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>