Problem: User wants to add something to a virtualhost.
Solution: It is possible to create a custom virtualhost template and have it used
instead of the default virtualhost templates. You'd need to add a line to the
virtualhost datastore telling it the location of the template. Usually minor
7 of 7
configuration changes can be most simply made via the user's .htaccess files or
included into httpd.conf under /usr/local/apache/conf/userdata. The
include directory structure is not created automatically, but use the following file
structure:
/usr/local/apache/conf/userdata/(ssl|std)/(1|2)/<user>
/<domain>/<something>.conf - Individual VirtualHost
/usr/local/apache/conf/userdata/<something>.conf - All VirtualHost
containers
/usr/local/apache/conf/userdata/[ssl or
std]/<something>.conf - All VirtualHost containers for SSL or
standard VirtualHosts
/usr/local/apache/conf/userdata/[ssl or std]/[1 or
2]/<something>.conf - All VirtualHost containers for SSL or
standard VirtualHosts with version specific settings
/usr/local/apache/conf/userdata/[ssl or std]/[1 or
2]/<user>/<something>.conf - All of a users VirtualHost
containers for SSL or standard VirtualHosts with version specific settings
/usr/local/apache/conf/userdata/[ssl or std]/[1 or
2]/<user>/<domain>/<something>.conf - Individual VirtualHost
container for SSL or standard VirtualHosts with version specific settings