NicholasEvans
New Pleskian
Hi,
I've got several sites that all run from the same document root but require separate mail accounts.
I've read that the best way to do this is to set up another site (or webspace) for the domain and then change the DocumentRoot in the vhost.conf file.
I've been trying to do this but don't seem to be able to get PHP to run on the new host once I've created vhost.conf.
I tried:
But the site just downloads the php file.
Any suggestions would be appreciated.
Kind regards,
Nick
I've got several sites that all run from the same document root but require separate mail accounts.
I've read that the best way to do this is to set up another site (or webspace) for the domain and then change the DocumentRoot in the vhost.conf file.
I've been trying to do this but don't seem to be able to get PHP to run on the new host once I've created vhost.conf.
I tried:
Code:
<Directory /var/www/vhosts/example.com/httpdocs>
Options -Includes -ExecCGI
</Directory>
DocumentRoot /var/www/vhosts/example.com/httpdocs
But the site just downloads the php file.
Any suggestions would be appreciated.
Kind regards,
Nick