Sorry the output was not clean. Trying a different formatSo I like to see if I can get only one Location stanza with only one REQUEST_URI and maybe one ProxyPass and one ProxyPassReverse for all three nodes
- ProxyPass /confluencenode1 http://nodecnf001:8092/confluencenode1
- ProxyPassReverse /confluencenode1 http://nodecnf001:8092/confluencenode1
- ProxyPass /confluencenode2 http://nodecnf002:8092/confluencenode2
- ProxyPassReverse /confluencenode2 http://nodecnf002:8092/confluencenode2
- ProxyPass /confluencenode3 http://nodecnf003:8092/confluencenode3
- ProxyPassReverse /confluencenode3 http://nodecnf003:8092/confluencenode3
- <Location /confluencenode1>
- # Paths to bypass SSO
- #<If "%{REQUEST_URI} =~ m#^/confluence\/rest\/#">
- # Satisfy Any
- #</If>
- <If "%{REQUEST_URI} =~ m#^/(confluencenode1/rest/|confluencenode1/s/).*#">
- Satisfy Any
- </If>
- Order allow,deny
- Allow from all
- AuthType Shibboleth
- Header set X-Forwarded-Proto "https"
- ShibUseHeaders On
- ShibRequestSetting requireSession true
- <RequireAny>
- Require shib-attr AuthType "standard, x509, securePlus2, securePlus3, piv"
- Require shib-attr AppAuth true
- </RequireAny>
- </Location>
- <Location /confluencenode2>
- # Paths to bypass SSO
- #<If "%{REQUEST_URI} =~ m#^/confluence\/rest\/#">
- # Satisfy Any
- #</If>
- <If "%{REQUEST_URI} =~ m#^/(confluencenode2/rest/|confluencenode2/s/).*#">
- Satisfy Any
- </If>
- Order allow,deny
- Allow from all
- AuthType Shibboleth
- Header set X-Forwarded-Proto "https"
- ShibUseHeaders On
- ShibRequestSetting requireSession true
- <RequireAny>
- Require shib-attr AuthType "standard, x509, securePlus2, securePlus3, piv"
- Require shib-attr AppAuth true
- </RequireAny>
- </Location>
- <Location /confluencenode3>
- # Paths to bypass SSO
- #<If "%{REQUEST_URI} =~ m#^/confluence\/rest\/#">
- # Satisfy Any
- #</If>
- <If "%{REQUEST_URI} =~ m#^/(confluencenode3/rest/|confluencenode3/s/).*#">
- Satisfy Any
- </If>
- Order allow,deny
- Allow from all
- AuthType Shibboleth
- Header set X-Forwarded-Proto "https"
- ShibUseHeaders On
- ShibRequestSetting requireSession true
- <RequireAny>
- Require shib-attr AuthType "standard, x509, securePlus2, securePlus3, piv"
- Require shib-attr AppAuth true
- </RequireAny>
- </Location>
On Tue, May 18, 2021 at 2:29 PM <vadud3@xxxxxxxxx> wrote:Hi All,I have this config and it works fine. Looking for a way to consolidate it. I tried few things and no success yet.ProxyPass /confluencenode1 http://nodecnf001:8092/confluencenode1
ProxyPassReverse /confluencenode1 http://nodecnf001:8092/confluencenode1
ProxyPass /confluencenode2 http://nodecnf002:8092/confluencenode2
ProxyPassReverse /confluencenode2 http://nodecnf002:8092/confluencenode2
ProxyPass /confluencenode3 http://nodecnf003:8092/confluencenode3
ProxyPassReverse /confluencenode3 http://nodecnf003:8092/confluencenode3
<Location /confluencenode1>
# Paths to bypass SSO
#<If "%{REQUEST_URI} =~ m#^/confluence\/rest\/#">
# Satisfy Any
#</If>
<If "%{REQUEST_URI} =~ m#^/(confluencenode1/rest/|confluencenode1/s/).*#">
Satisfy Any
</If>
Order allow,deny
Allow from all
AuthType Shibboleth
Header set X-Forwarded-Proto "https"
ShibUseHeaders On
ShibRequestSetting requireSession true
<RequireAny>
Require shib-attr AuthType "standard, x509, securePlus2, securePlus3, piv"
Require shib-attr AppAuth true
</RequireAny>
</Location>
<Location /confluencenode2>
# Paths to bypass SSO
#<If "%{REQUEST_URI} =~ m#^/confluence\/rest\/#">
# Satisfy Any
#</If>
<If "%{REQUEST_URI} =~ m#^/(confluencenode2/rest/|confluencenode2/s/).*#">
Satisfy Any
</If>
Order allow,deny
Allow from all
AuthType Shibboleth
Header set X-Forwarded-Proto "https"
ShibUseHeaders On
ShibRequestSetting requireSession true
<RequireAny>
Require shib-attr AuthType "standard, x509, securePlus2, securePlus3, piv"
Require shib-attr AppAuth true
</RequireAny>
</Location>
<Location /confluencenode3>
# Paths to bypass SSO
#<If "%{REQUEST_URI} =~ m#^/confluence\/rest\/#">
# Satisfy Any
#</If>
<If "%{REQUEST_URI} =~ m#^/(confluencenode3/rest/|confluencenode3/s/).*#">
Satisfy Any
</If>
Order allow,deny
Allow from all
AuthType Shibboleth
Header set X-Forwarded-Proto "https"
ShibUseHeaders On
ShibRequestSetting requireSession true
<RequireAny>
Require shib-attr AuthType "standard, x509, securePlus2, securePlus3, piv"
Require shib-attr AppAuth true
</RequireAny>
</Location>Thanks--Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?--Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?