Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-2649

have two different apache confs, one for if shib is on, one if shib is off

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 2.5.19
    • 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> 

      Attachments

        Activity

          People

            chris.hubing@at.internet2.edu Chris Hubing (internet2.edu)
            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: