Skip to content

Instantly share code, notes, and snippets.

@blkperl
Created January 29, 2014 01:14
Show Gist options
  • Select an option

  • Save blkperl/8679877 to your computer and use it in GitHub Desktop.

Select an option

Save blkperl/8679877 to your computer and use it in GitHub Desktop.
<VirtualHost 131.252.208.65:80>
ServerName metrics.cat.pdx.edu
DocumentRoot /disk/trump/leonardo
WSGIDaemonProcess leonardo user=leonardo group=leonardo threads=5
WSGIScriptAlias / /disk/trump/leonardo/leonardo/leonardo.wsgi
ErrorLog /var/log/apache2/metrics-error.log
LogLevel warn
CustomLog /var/log/apache2/metrics-access.log combined
CASCookiePath /var/cache/apache2/mod_auth_cas/
CASLoginURL https://auth.cecs.pdx.edu/cas/login
CASValidateURL https://auth.cecs.pdx.edu/cas/serviceValidate
#CASCertificatePath /www/certs/
CASCertificatePath /etc/ssl/certs/globalsign-org.pem
CASValidateServer On
#CASValidateDepth 1
CASDebug On
CASAllowWildcardCert On
#CASValidateSAML On
<Directory /disk/trump/leonardo>
WSGIProcessGroup leonardo
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
<Location />
Authtype CAS
require valid-user
</Location>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment