All pastes #288026 Raw Edit

Anonymous

public text v1 · immutable
#288026 ·published 2006-12-21 23:39 UTC
rendered paste body
ServerName www.help.com
ServerRoot /usr/local/nocat
ErrorLog /usr/local/nocat/logs/error_log
TransferLog /usr/local/nocat/logs/access_log
Listen 80

<IfDefine SSL>
Listen 443
AddType application/x-pkcs7-crl    .crl
SSLPassPhraseDialog  builtin
SSLSessionCache         dbm:/usr/local/nocat/logs/ssl_scache
SSLSessionCacheTimeout  300

SSLMutex  file:/usr/local/nocat/logs/ssl_mutex
SSLRandomSeed startup file:/dev/arandom  512
SSLRandomSeed connect file:/dev/arandom 512
SSLLog          /usr/local/nocat/logs/ssl_engine_log
SSLLogLevel info

SetEnvIf User-Agent ".*MSIE.*" \
  nokeepalive ssl-unclean-shutdown \
  downgrade-1.0 force-response-1.0

</IfDefine>
<IfDefine SSL>
<VirtualHost _default_:443>
SSLEngine on
ServerName hotspot.help.com
DocumentRoot "/usr/local/nocat//htdocs"
ServerAdmin help@help.com
ErrorLog /usr/local/nocat/logs/error_log
TransferLog /usr/local/nocat/logs/access_log
SSLCertificateFile  /etc/ssl/server.crt
SSLCertificateKeyFile /etc/ssl/server.key
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
</Files>
<Directory "/usr/local/nocat/cgi-bin">
    SSLOptions +StdEnvVars
    Options ExecCGI
</Directory>

SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

CustomLog /usr/local/nocat/logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

</VirtualHost>
</IfDefine>