NameVirtualHost {DOM_IPNUMBER}:80 NameVirtualHost {DOM_IPNUMBEREX}:80 ServerName {DOM_HOSTNAME} ServerAlias *.{DOM_HOSTNAME} ServerAdmin {DOM_USERNAME}@{HIVE}.hostsharing.net SuexecUserGroup {DOM_USERNAME} {PAC} DocumentRoot /home/doms/{DOM_HOSTNAME}/htdocs Options -ExecCGI +IncludesNOEXEC +Indexes +MultiViews +SymLinksIfOwnerMatch AllowOverride AuthConfig FileInfo Indexes Limit Redirect 501 / Redirect 501 / RewriteEngine On RewriteOptions Inherit #RewriteLog /home/doms/{DOM_HOSTNAME}/var/rewrite.log #RewriteLogLevel 9 RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:80)?$ [novary] RewriteCond /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1} -d RewriteRule ^(.*) /home/doms/{DOM_HOSTNAME}/subs/${tolower:%1}$1 [last] NameVirtualHost {DOM_IPNUMBER}:443 NameVirtualHost {DOM_IPNUMBEREX}:443 ServerName {DOM_HOSTNAME} ServerAlias *.{DOM_HOSTNAME} ServerAdmin {DOM_USERNAME}@{HIVE}.hostsharing.net SuexecUserGroup {DOM_USERNAME} {PAC} SSLEngine On SSLCertificateFile /etc/apache2/pems/default.pem SSLCertificateChainFile /etc/apache2/pems/default.chain.pem DocumentRoot /home/doms/{DOM_HOSTNAME}/htdocs-ssl SSLRequireSSL On Options -ExecCGI +IncludesNOEXEC +Indexes +MultiViews +SymLinksIfOwnerMatch AllowOverride AuthConfig FileInfo Indexes Limit Redirect 501 / Redirect 501 / RewriteEngine On RewriteOptions Inherit #RewriteLog /home/doms/{DOM_HOSTNAME}/var/rewrite.log #RewriteLogLevel 9 RewriteCond %{HTTP_HOST} ^(.+)\.{DOM_HOSTNAME}\.?(:443)?$ [novary] RewriteCond /home/doms/{DOM_HOSTNAME}/subs-ssl/${tolower:%1} -d RewriteRule ^(.*) /home/doms/{DOM_HOSTNAME}/subs-ssl/${tolower:%1}$1 [last]