• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

vhost.conf

P

PedstersPlanet

Guest
I need to use a vhost.conf for a domain (for a php_admin_flag setting), but when I create the vhost.conf file in

/var/www/vhosts/<domain>/conf/

and issue the

/usr/local/psa/admin/bin/websrvmng --reconfigure-vhost --vhost-name=<domain>

I see no

Include /var/www/vhosts/<domain-name>/conf/vhost.conf
in /var/www/vhosts/<domain-name>/conf/httpd.include

What is going on?
 
do

Code:
touch /var/www/vhosts/domain.com/conf/vhost.conf
nano -w /var/www/vhosts/domain.com/conf/vhost.conf

place in it

Code:
<Directory /var/www/vhosts/domain.com/httpdocs>
php_value whatever whatever
</Directory>

Then run

Code:
/usr/local/psa/admin/bin/websrvmng -u --vhost-name=domain.com

restart apache
Code:
service httpd restart
 
Back
Top