Mercurial > lada > lada-client
diff custom-vhosts.conf @ 1046:39b162749778
merged.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 26 Feb 2016 09:41:39 +0100 |
parents | 3ef492b5240b |
children | 860f03b39a83 |
line wrap: on
line diff
--- a/custom-vhosts.conf Fri Feb 26 09:40:53 2016 +0100 +++ b/custom-vhosts.conf Fri Feb 26 09:41:39 2016 +0100 @@ -17,6 +17,7 @@ Listen 81 Listen 82 Listen 83 +Listen 84 <VirtualHost *:80> ServerAdmin webmaster@localhost @@ -44,7 +45,7 @@ # Fake Shibboleth-like authentication headers RequestHeader set X-SHIB-user "testeins" # Status-Erfasser - RequestHeader set X-SHIB-roles "cn=mst_11010_status" + RequestHeader set X-SHIB-roles "cn=mst_11010_status,cn=land_11_status" # Add Proxy for Lada-server ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" @@ -57,7 +58,7 @@ CustomLog logs/lada-access_log common # Fake Shibboleth-like authentication headers - RequestHeader set X-SHIB-user "testeins" + RequestHeader set X-SHIB-user "testnull" # Status-Land RequestHeader set X-SHIB-roles "cn=land_11_status" @@ -80,3 +81,18 @@ ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" </VirtualHost> + +<VirtualHost *:84> + ServerAdmin webmaster@localhost + ErrorLog logs/lada-error_log + CustomLog logs/lada-access_log common + + # Fake Shibboleth-like authentication headers + RequestHeader set X-SHIB-user "testeins" + # Stammdatenpflege-Land + RequestHeader set X-SHIB-roles "cn=land_06_stamm" + + # Add Proxy for Lada-server + ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" + ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" +</VirtualHost>