• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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