Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
Description
if the env var:
RUN_SHIB_SP='true'
then do what you do for /etc/httpd/conf.d/grouper-www.conf
Timeout 2400 |
ProxyTimeout 2400 |
ProxyBadHeader Ignore
|
|
ProxyPass /grouper ajp://localhost:8009/grouper timeout=2400 |
ProxyPass /grouper-ws ajp://localhost:8009/grouper timeout=2400 |
ProxyPass /grouper-ws-scim ajp://localhost:8009/grouper timeout=2400 |
|
RewriteEngine on
|
RewriteCond %{REQUEST_URI} "^/$" |
RewriteRule . %{REQUEST_SCHEME}://%{HTTP_HOST}/grouper/ [R=301,L] |
|
<Location /grouper>
|
AuthType shibboleth
|
ShibRequestSetting requireSession 1 |
ShibRequireSession on
|
ShibUseHeaders On
|
require shibboleth
|
</Location>
|
But if RUN_SHIB_SP='false', then copy a different file to /etc/httpd/conf.d/grouper-www.conf
Timeout 2400 |
ProxyTimeout 2400 |
ProxyBadHeader Ignore
|
|
ProxyPass /grouper ajp://localhost:8009/grouper timeout=2400 |
ProxyPass /grouper-ws ajp://localhost:8009/grouper timeout=2400 |
ProxyPass /grouper-ws-scim ajp://localhost:8009/grouper timeout=2400 |
|
RewriteEngine on
|
RewriteCond %{REQUEST_URI} "^/$" |
RewriteRule . %{REQUEST_SCHEME}://%{HTTP_HOST}/grouper/ [R=301,L] |
|
#<Location /grouper>
|
# AuthType shibboleth
|
# ShibRequestSetting requireSession 1 |
# ShibRequireSession on
|
# ShibUseHeaders On
|
# require shibboleth
|
#</Location>
|