public
Created

default/000-default

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<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>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.