• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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