Skip to content

Instantly share code, notes, and snippets.

@camilopayan
Created August 24, 2011 20:24
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 camilopayan/1169107 to your computer and use it in GitHub Desktop.
Save camilopayan/1169107 to your computer and use it in GitHub Desktop.
CAS and Virtual Host Config
LoadModule auth_cas_module modules/mod_auth_cas.so
#CASDebug On
CASLoginURL https://auth.fiu.edu/cas/login
CASValidateURL https://auth.fiu.edu/cas/serviceValidate
CASAllowWildcardCert On
CASValidateServer Off
CASCookiePath /var/run/mod_auth_cas/
CASTimeout 36000
CASIdleTimeout 3600
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/usr/local/Cascade Server/"
ServerName cascadedev.fiu.edu
CustomLog /etc/httpd/logs/cascade_access_log combined
<Location />
AuthType CAS
require valid-user
Order deny,allow
Deny from all
Allow from 131.94
Allow from *.fiu.edu
</Location>
ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment