Weird virtual host error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux