diff custom-vhosts.conf @ 1041:3ef492b5240b

Add access with a role for Stammdatenpflege.
author Tom Gottfried <tom@intevation.de>
date Wed, 24 Feb 2016 18:24:25 +0100
parents 6a176e9ca890
children 860f03b39a83
line wrap: on
line diff
--- a/custom-vhosts.conf	Wed Feb 24 17:56:47 2016 +0100
+++ b/custom-vhosts.conf	Wed Feb 24 18:24:25 2016 +0100
@@ -17,6 +17,7 @@
 Listen 81
 Listen 82
 Listen 83
+Listen 84
 
 <VirtualHost *:80>
     ServerAdmin webmaster@localhost
@@ -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>

http://lada.wald.intevation.org