ServerName internal-{[[[[Hostname]]]]} DocumentRoot "/home/httpd/html" SSLEngine on SSLProtocol all -SSLv2 SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5 SSLCertificateFile /home/httpd/lonCerts/lonhostnamecert.pem SSLCertificateKeyFile /home/httpd/lonCerts/lonKey.pem SSLCACertificateFile /home/httpd/lonCerts/loncapaCA.pem SSLCARevocationFile /home/httpd/lonCerts/loncapaCAcrl.pem SSLCARevocationCheck chain ErrorLog logs/ssl_LCerror_log TransferLog logs/ssl_LCaccess_log LogLevel warn CustomLog logs/ssl_LCrequest_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" RewriteEngine On RewriteCond %{REQUEST_URI} !^/raw/ [NC] RewriteCond %{HTTP_HOST} ^internal\-(.+) [NC] RewriteRule (.*) https://%1$1 [R=302,L,QSA] PerlAccessHandler Apache::lonracc SSLRequireSSL SSLVerifyClient require SSLVerifyDepth 2