Re: apache2 and virtual hosts
> Try defining the directories as in the top VirtualHost stanza. I
> believe just defining the DocumentRoot is not enough. Apache needs to
> know what it can due there. Also, make sure that the www-data user has
> reading permission of the directory in /home/domain2/domain2/htdocs/.
> Or at least the directory is system readable.
same problem...
<VirtualHost *:80>
ServerName domain2
ServerAlias www.domain2.com
DocumentRoot /home/domain2/
<Directory "/home/domain2">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
ErrorLog /home/domain2/logs/error.log
CustomLog /home/domain2/logs/access.log combined
</VirtualHost>
Pol
Reply to: