Line 20:
Line 20:
db domains delete proxypassdomain.com
db domains delete proxypassdomain.com
signal-event domain-delete proxypassdomain.com
signal-event domain-delete proxypassdomain.com
+
+
Note that using the settings above 'TemplatePath' is set to 'ProxyPassVirtualHosts' which will read templates in:
+
+
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts
+
+
It is perfectly possible to use your own templates for more specialised settings:
+
+
cp -R /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ProxyPassVirtualHosts /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/MyProxyPassHost
+
+
Now you can edit the templates in 'MyProxyPassHost' and use your own advanced settings as you require.
+
+
db domains setprop proxypassdomain.com TemplatePath MyProxyPassHost
{{Note box|msg=If you have added the internal or external server's domain name as a virtual domain on the SME Server, you must remove it prior to issuing these commands. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it, see [[bugzilla:1612]]}}
{{Note box|msg=If you have added the internal or external server's domain name as a virtual domain on the SME Server, you must remove it prior to issuing these commands. The server-manager domains panel will show the proxy pass entry but you will not be able to edit it, see [[bugzilla:1612]]}}