• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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