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