• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Changes in Apache web server options in domain go to vhost.conf but not to httpd.conf

Miguel_Tellería

Basic Pleskian
[Plesk 12.0.18 #76 on CentOS 6]

Dear all,

I want to add LogLevel=notice to one domain only and so I placed it in the Subscription-> "Websites and Domains" ->"Web server configuration" area. However the value is not migrated to the httpd.conf file.

The machine runs Apache without Nginx.

I see the following changes:

- vhost.conf contains the lines without the last '\n' at the end of the last line.
- httpd.conf and httpd.conf.bak are updated according to filesystem date but are completely identical and they don't contain the line that I want to use.

I tried /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain <domainname> without any change.

Nothing found at:

/var/log/sw-cp-server/error_log
/var/log/sw-cp-server/sw-engine.log
/usr/local/psa/admin/logs/panel.log

Any hints or help will be welcome. Meanwhile I resort to hardcode the lines in the httpd.conf file directly.
 
I reply to myself

I see that vhost.conf is included with the line Include "/var/www/vhosts/system/<domain_name>/conf/vhost.conf"

So this post is already self-answered :).
 
Back
Top