Skip to content

Instantly share code, notes, and snippets.

@mattias-lidman
Created July 26, 2011 12:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattias-lidman/1106660 to your computer and use it in GitHub Desktop.
Save mattias-lidman/1106660 to your computer and use it in GitHub Desktop.
<VirtualHost mattias.globuscs.info:443>
ServerName mattias.globuscs.info
SSLEngine On
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP
SSLProtocol all -SSLv2
SSLCertificateFile /etc/ssl/private/cert-file.crt
#SSLCertificateKeyFile /etc/ssl/server.key
SSLOptions +StdEnvVars
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
<IfModule mod_proxy_ajp.c>
ProxyRequests Off
<Location /idp/Authn/RemoteUser>
AuthType Basic
AuthName "Identity Provider Authentication"
AuthUserFile /etc/apache2/users
require valid-user
</Location>
<Proxy ajp://localhost:8009>
Allow from all
</Proxy>
ProxyPass /idp ajp://localhost:8009/idp retry=5
</IfModule>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment