When creating a service plan I can add additional apache directives for http and https. Let's say I like to add the following code:
===
<Directory "/var/www/vhosts/<DOMAIN>/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/<DOMAIN>/httpdocs:/tmp"
Options +All
AllowOverride All
Order allow,deny
Allow from all
# Include global config
Include "/var/www/scripts/httpd_website.conf"
</Directory>
===
Would it be possible to configure <DOMAIN> as a variable?
So when I add a new subscription with domain "blah.com" the variable <DOMAIN> will be replaced with blah.com?
Would be nice if this is possible If it is possible, can someone give me an example of the code?
===
<Directory "/var/www/vhosts/<DOMAIN>/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/<DOMAIN>/httpdocs:/tmp"
Options +All
AllowOverride All
Order allow,deny
Allow from all
# Include global config
Include "/var/www/scripts/httpd_website.conf"
</Directory>
===
Would it be possible to configure <DOMAIN> as a variable?
So when I add a new subscription with domain "blah.com" the variable <DOMAIN> will be replaced with blah.com?
Would be nice if this is possible If it is possible, can someone give me an example of the code?