Hi all
I've got problem on apache server. Problem manifests when virtual hosts file is included in apache configuration.
If I remove include of virtual hosts file apache returns words "It works!"
First I had symlink on path /www and real path is on another drive. Configuration did not work.
Later I've removed symlink ad still no success.
If virtual hosts file is included I get blank page and nothing is written apache in logs
this is configuration of virtual host I've used on 10.6.7 and it worked without problems.
Please help me to get this working.
Thank you in advance
Kind regards
ddragas
I've got problem on apache server. Problem manifests when virtual hosts file is included in apache configuration.
If I remove include of virtual hosts file apache returns words "It works!"
First I had symlink on path /www and real path is on another drive. Configuration did not work.
Later I've removed symlink ad still no success.
If virtual hosts file is included I get blank page and nothing is written apache in logs
this is configuration of virtual host I've used on 10.6.7 and it worked without problems.
Code:
<VirtualHost *:80>
DocumentRoot "/www/mysite"
ServerName domain.local
ErrorLog "/private/var/log/apache2/mysite.local-error_log"
CustomLog "/private/var/log/apache2/mysite.local-access_log" common
<Directory /www/mysite>
allow from all
Options +Indexes
</Directory>
</VirtualHost>
Please help me to get this working.
Thank you in advance
Kind regards
ddragas