comparison 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
comparison
equal deleted inserted replaced
1040:6a176e9ca890 1041:3ef492b5240b
15 # configuration. 15 # configuration.
16 Listen 80 16 Listen 80
17 Listen 81 17 Listen 81
18 Listen 82 18 Listen 82
19 Listen 83 19 Listen 83
20 Listen 84
20 21
21 <VirtualHost *:80> 22 <VirtualHost *:80>
22 ServerAdmin webmaster@localhost 23 ServerAdmin webmaster@localhost
23 ErrorLog logs/lada-error_log 24 ErrorLog logs/lada-error_log
24 CustomLog logs/lada-access_log common 25 CustomLog logs/lada-access_log common
78 79
79 # Add Proxy for Lada-server 80 # Add Proxy for Lada-server
80 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" 81 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/"
81 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" 82 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/"
82 </VirtualHost> 83 </VirtualHost>
84
85 <VirtualHost *:84>
86 ServerAdmin webmaster@localhost
87 ErrorLog logs/lada-error_log
88 CustomLog logs/lada-access_log common
89
90 # Fake Shibboleth-like authentication headers
91 RequestHeader set X-SHIB-user "testeins"
92 # Stammdatenpflege-Land
93 RequestHeader set X-SHIB-roles "cn=land_06_stamm"
94
95 # Add Proxy for Lada-server
96 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/"
97 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/"
98 </VirtualHost>

http://lada.wald.intevation.org