#
# partners.sbc.capital.local:80
#
<VirtualHost *:80>
    Redirect "/" "https://partners.sbc.capital.local"
    ServerName   "partners.sbc.capital.local:80"
    DocumentRoot "${DOCROOT_WWW}/sbc-capital-partners/public"
    ErrorLog     "${APACHE_LOG_DIR}/sbc-capital-partners-error_log"
    CustomLog    "${APACHE_LOG_DIR}/sbc-capital-partners-access_log" common
</VirtualHost>
#
# partners.sbc.capital.local:443
#
<IfModule mod_ssl.c>
    <VirtualHost *:443>
        ServerName   "partners.sbc.capital.local:443"
        DocumentRoot "${DOCROOT_WWW}/sbc-capital-partners/public"
        ErrorLog     "${APACHE_LOG_DIR}/sbc-capital-partners-error_log"
        CustomLog    "${APACHE_LOG_DIR}/sbc-capital-partners-access_log" common
        
        SSLEngine on
        SSLCertificateFile    "${DOCROOT_WWW}/sbc.capital.local.crt"
        SSLCertificateKeyFile "${DOCROOT_WWW}/sbc.capital.local.key"
        
        <FilesMatch "\.(cgi|shtml|phtml|php)$">
            SSLOptions +StdEnvVars
        </FilesMatch>
        <Directory /usr/lib/cgi-bin>
            SSLOptions +StdEnvVars
        </Directory>
    </VirtualHost>
</IfModule>