Skip to content

Instantly share code, notes, and snippets.

@mattias-lidman
Created August 25, 2011 13:40
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/1170683 to your computer and use it in GitHub Desktop.
Save mattias-lidman/1170683 to your computer and use it in GitHub Desktop.
default/000-default
<VirtualHost *:443>
SSLEngine On
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP
SSLProtocol all -SSLv2
SSLCertificateFile /vagrant/cert-file.crt
SSLCertificateKeyFile /vagrant/server.key
SSLOptions +StdEnvVars
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
ProxyRequests Off
<Location /idp/Authn/RemoteUser>
AuthType Basic
AuthName "Identity Provider Authentication"
AuthUserFile /etc/apache2/users
require valid-user
</Location>
<Proxy ajp://localhost:8080>
Allow from all
</Proxy>
ProxyPass /idp ajp://localhost:8080/idp retry=5
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment