EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 69620bed authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

fix apache config syntax

parent 26a327a7
No related branches found
No related tags found
2 merge requests!36Staging to master to prepare 1.0.0 release,!34Shib auth
ServerName emg.pdas.prism.eox.at
LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_24.so LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_24.so
ShibCompatValidUser Off ShibCompatValidUser Off
UseCanonicalName On UseCanonicalName On
DocumentRoot "/var/www/html"
<Location /> <Location />
SetHandler shib SetHandler shib
</Location> </Location>
<VirtualHost *:80> <VirtualHost *:80>
ServerName PassEnv APACHE_SERVERNAME PassEnv APACHE_SERVERNAME
UseCanonicalName On ServerName "${APACHE_SERVERNAME}"
DocumentRoot "/var/www/html"
<Location /secure> <Location /secure>
AuthType shibboleth AuthType shibboleth
ShibRequestSetting requireSession 1 ShibRequestSetting requireSession 1
ShibAccessControl /etc/shibboleth/pass-ac.xml Require shib-plugin /etc/shibboleth/pass-ac.xml
RequestHeader set Referer "%{X-Forwarded-Uri}e" RequestHeader set Referer "%{X-Forwarded-Uri}e"
Header set Referer "%{X-Forwarded-Uri}e" Header set Referer "%{X-Forwarded-Uri}e"
</Location> </Location>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment