• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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