comparison custom-vhosts.conf @ 1216:75e5caebd392

Adapt version name.
author Tom Gottfried <tom@intevation.de>
date Fri, 14 Oct 2016 16:06:21 +0200
parents 5489ae5ef9e0
children 59cc259f7f21
comparison
equal deleted inserted replaced
1215:3ee306a004c2 1216:75e5caebd392
19 Listen 81 19 Listen 81
20 Listen 82 20 Listen 82
21 Listen 83 21 Listen 83
22 Listen 84 22 Listen 84
23 23
24 Define LADA_SERVER_VERSION 2.4.0dev
25
24 <VirtualHost *:80> 26 <VirtualHost *:80>
25 ServerAdmin webmaster@localhost 27 ServerAdmin webmaster@localhost
26 ErrorLog ${APACHE_LOG_DIR}/error.log 28 ErrorLog ${APACHE_LOG_DIR}/error.log
27 CustomLog ${APACHE_LOG_DIR}/access.log combined 29 CustomLog ${APACHE_LOG_DIR}/access.log combined
28 30
30 RequestHeader set X-SHIB-user "testeins" 32 RequestHeader set X-SHIB-user "testeins"
31 # Erfasser 33 # Erfasser
32 RequestHeader set X-SHIB-roles "cn=mst_11010" 34 RequestHeader set X-SHIB-roles "cn=mst_11010"
33 35
34 # Add Proxy for Lada-server 36 # Add Proxy for Lada-server
35 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 37 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
36 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 38 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
37 # Add Proxy for printing 39 # Add Proxy for printing
38 #ProxyPass /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print 40 #ProxyPass /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print
39 #ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print 41 #ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print
40 </VirtualHost> 42 </VirtualHost>
41 43
48 RequestHeader set X-SHIB-user "testeins" 50 RequestHeader set X-SHIB-user "testeins"
49 # Status-Erfasser 51 # Status-Erfasser
50 RequestHeader set X-SHIB-roles "cn=mst_11010_status" 52 RequestHeader set X-SHIB-roles "cn=mst_11010_status"
51 53
52 # Add Proxy for Lada-server 54 # Add Proxy for Lada-server
53 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 55 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
54 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 56 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
55 </VirtualHost> 57 </VirtualHost>
56 58
57 <VirtualHost *:82> 59 <VirtualHost *:82>
58 ServerAdmin webmaster@localhost 60 ServerAdmin webmaster@localhost
59 ErrorLog ${APACHE_LOG_DIR}/error.log 61 ErrorLog ${APACHE_LOG_DIR}/error.log
63 RequestHeader set X-SHIB-user "testnull" 65 RequestHeader set X-SHIB-user "testnull"
64 # Status-Land 66 # Status-Land
65 RequestHeader set X-SHIB-roles "cn=land_11_status" 67 RequestHeader set X-SHIB-roles "cn=land_11_status"
66 68
67 # Add Proxy for Lada-server 69 # Add Proxy for Lada-server
68 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 70 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
69 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 71 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
70 </VirtualHost> 72 </VirtualHost>
71 73
72 <VirtualHost *:83> 74 <VirtualHost *:83>
73 ServerAdmin webmaster@localhost 75 ServerAdmin webmaster@localhost
74 ErrorLog ${APACHE_LOG_DIR}/error.log 76 ErrorLog ${APACHE_LOG_DIR}/error.log
78 RequestHeader set X-SHIB-user "testeins" 80 RequestHeader set X-SHIB-user "testeins"
79 # Status-Leitstelle 81 # Status-Leitstelle
80 RequestHeader set X-SHIB-roles "cn=lst_kiel" 82 RequestHeader set X-SHIB-roles "cn=lst_kiel"
81 83
82 # Add Proxy for Lada-server 84 # Add Proxy for Lada-server
83 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 85 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
84 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 86 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
85 </VirtualHost> 87 </VirtualHost>
86 88
87 <VirtualHost *:84> 89 <VirtualHost *:84>
88 ServerAdmin webmaster@localhost 90 ServerAdmin webmaster@localhost
89 ErrorLog ${APACHE_LOG_DIR}/error.log 91 ErrorLog ${APACHE_LOG_DIR}/error.log
93 RequestHeader set X-SHIB-user "testeins" 95 RequestHeader set X-SHIB-user "testeins"
94 # Stammdatenpflege-Land 96 # Stammdatenpflege-Land
95 RequestHeader set X-SHIB-roles "cn=land_06_stamm" 97 RequestHeader set X-SHIB-roles "cn=land_06_stamm"
96 98
97 # Add Proxy for Lada-server 99 # Add Proxy for Lada-server
98 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 100 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
99 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 101 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-${LADA_SERVER_VERSION}/"
100 </VirtualHost> 102 </VirtualHost>

http://lada.wald.intevation.org