comparison custom-vhosts.conf @ 1188:5489ae5ef9e0

Migrate Dockerfile to Debian. This avoids need for custom httpd configuration and certificate problems with curl.
author Tom Gottfried <tom@intevation.de>
date Wed, 07 Sep 2016 12:57:19 +0200
parents 860f03b39a83
children 75e5caebd392
comparison
equal deleted inserted replaced
1180:1ae5e4f0f2c8 1188:5489ae5ef9e0
11 # <URL:http://httpd.apache.org/docs/2.4/vhosts/> 11 # <URL:http://httpd.apache.org/docs/2.4/vhosts/>
12 # for further details before you try to setup virtual hosts. 12 # for further details before you try to setup virtual hosts.
13 # 13 #
14 # You may use the command line option '-S' to verify your virtual host 14 # You may use the command line option '-S' to verify your virtual host
15 # configuration. 15 # configuration.
16 Listen 80 16
17 # Listening on port 80 is configured elsewhere in a Debian installation
18 #Listen 80
17 Listen 81 19 Listen 81
18 Listen 82 20 Listen 82
19 Listen 83 21 Listen 83
20 Listen 84 22 Listen 84
21 23
22 <VirtualHost *:80> 24 <VirtualHost *:80>
23 ServerAdmin webmaster@localhost 25 ServerAdmin webmaster@localhost
24 ErrorLog logs/lada-error_log 26 ErrorLog ${APACHE_LOG_DIR}/error.log
25 CustomLog logs/lada-access_log common 27 CustomLog ${APACHE_LOG_DIR}/access.log combined
26 28
27 # Fake Shibboleth-like authentication headers 29 # Fake Shibboleth-like authentication headers
28 RequestHeader set X-SHIB-user "testeins" 30 RequestHeader set X-SHIB-user "testeins"
29 # Erfasser 31 # Erfasser
30 RequestHeader set X-SHIB-roles "cn=mst_11010" 32 RequestHeader set X-SHIB-roles "cn=mst_11010"
37 #ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print 39 #ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print
38 </VirtualHost> 40 </VirtualHost>
39 41
40 <VirtualHost *:81> 42 <VirtualHost *:81>
41 ServerAdmin webmaster@localhost 43 ServerAdmin webmaster@localhost
42 ErrorLog logs/lada-error_log 44 ErrorLog ${APACHE_LOG_DIR}/error.log
43 CustomLog logs/lada-access_log common 45 CustomLog ${APACHE_LOG_DIR}/access.log combined
44 46
45 # Fake Shibboleth-like authentication headers 47 # Fake Shibboleth-like authentication headers
46 RequestHeader set X-SHIB-user "testeins" 48 RequestHeader set X-SHIB-user "testeins"
47 # Status-Erfasser 49 # Status-Erfasser
48 RequestHeader set X-SHIB-roles "cn=mst_11010_status" 50 RequestHeader set X-SHIB-roles "cn=mst_11010_status"
52 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 54 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/"
53 </VirtualHost> 55 </VirtualHost>
54 56
55 <VirtualHost *:82> 57 <VirtualHost *:82>
56 ServerAdmin webmaster@localhost 58 ServerAdmin webmaster@localhost
57 ErrorLog logs/lada-error_log 59 ErrorLog ${APACHE_LOG_DIR}/error.log
58 CustomLog logs/lada-access_log common 60 CustomLog ${APACHE_LOG_DIR}/access.log combined
59 61
60 # Fake Shibboleth-like authentication headers 62 # Fake Shibboleth-like authentication headers
61 RequestHeader set X-SHIB-user "testnull" 63 RequestHeader set X-SHIB-user "testnull"
62 # Status-Land 64 # Status-Land
63 RequestHeader set X-SHIB-roles "cn=land_11_status" 65 RequestHeader set X-SHIB-roles "cn=land_11_status"
67 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 69 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/"
68 </VirtualHost> 70 </VirtualHost>
69 71
70 <VirtualHost *:83> 72 <VirtualHost *:83>
71 ServerAdmin webmaster@localhost 73 ServerAdmin webmaster@localhost
72 ErrorLog logs/lada-error_log 74 ErrorLog ${APACHE_LOG_DIR}/error.log
73 CustomLog logs/lada-access_log common 75 CustomLog ${APACHE_LOG_DIR}/access.log combined
74 76
75 # Fake Shibboleth-like authentication headers 77 # Fake Shibboleth-like authentication headers
76 RequestHeader set X-SHIB-user "testeins" 78 RequestHeader set X-SHIB-user "testeins"
77 # Status-Leitstelle 79 # Status-Leitstelle
78 RequestHeader set X-SHIB-roles "cn=lst_kiel" 80 RequestHeader set X-SHIB-roles "cn=lst_kiel"
82 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/" 84 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.3.0/"
83 </VirtualHost> 85 </VirtualHost>
84 86
85 <VirtualHost *:84> 87 <VirtualHost *:84>
86 ServerAdmin webmaster@localhost 88 ServerAdmin webmaster@localhost
87 ErrorLog logs/lada-error_log 89 ErrorLog ${APACHE_LOG_DIR}/error.log
88 CustomLog logs/lada-access_log common 90 CustomLog ${APACHE_LOG_DIR}/access.log combined
89 91
90 # Fake Shibboleth-like authentication headers 92 # Fake Shibboleth-like authentication headers
91 RequestHeader set X-SHIB-user "testeins" 93 RequestHeader set X-SHIB-user "testeins"
92 # Stammdatenpflege-Land 94 # Stammdatenpflege-Land
93 RequestHeader set X-SHIB-roles "cn=land_06_stamm" 95 RequestHeader set X-SHIB-roles "cn=land_06_stamm"

http://lada.wald.intevation.org