• 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.

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