• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Where is the MASTER template for the DOMAINS httpd.include file??

dragnovich

Basic Pleskian
Hello I had some Apache configurations I need to add to ALL my sites. I know that if I change something in any domain httpd.include file, when I restart the server all the domains vhosts.include files are rewrited to a default psa domain configuration value.

One (of many others) of this values I need to add globally is add one directory path to the default open_basedir directive in all the httpd.include files that the server generates.

So if by default now open_basedir is:
open_basedir "/var/www/vhosts/<somedomain>/htdocs:/tmp"

When I modify the "master template" the server now writes:
open_basedir "/some/new/path:/var/www/vhosts/<somedomain>/htdocs:/tmp"

I know that I can use a vhost.conf file in each domain, but it really is useless when there are more than 100 domains to manually change. and monitor if the server didnt changed back, so I DONT want to use that option.
 
Back
Top