Weird virtual host error
| From: | Richard Heyes | Date: | Mon, 21 Jul 2008 20:19:48 +0000 |
| Subject: | Weird virtual host error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-19188@lists.php.net to get a copy of this message | ||
Hi,
Got a strange error to do with Apache and virtual hosts. http://www.bioscience.co.uk and http://staging.bioscience.co.uk are both the same machine and PHP is clearly working on the default (www...) but not on the (only) virtual host (staging...)
The virtual host config is thus:
<VirtualHost 62.233.101.227:80>
ServerName staging.bioscience.co.uk
DocumentRoot /var/www/vhosts/staging/htdocs
CustomLog logs/staging.bioscience.co.uk-access_log combined
ErrorLog logs/staging.bioscience.co.uk-error_log
</VirtualHost>
Is this even correct? Thanks.
--
Richard Heyes
http://www.phpguru.org