Mercurial > lada > lada-client
annotate custom-vhosts.conf @ 1132:c213c3dc51d2
Expand ort grid on add ort button clicked.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 25 May 2016 14:36:16 +0200 |
parents | 3ef492b5240b |
children | 860f03b39a83 |
rev | line source |
---|---|
953
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
1 # Virtual Hosts |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
2 # |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
3 # Required modules: mod_log_config |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
4 |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
5 # If you want to maintain multiple domains/hostnames on your |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
6 # machine you can setup VirtualHost containers for them. Most configurations |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
7 # use only name-based virtual hosts so the server doesn't need to worry about |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
8 # IP addresses. This is indicated by the asterisks in the directives below. |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
9 # |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
10 # Please see the documentation at |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
11 # <URL:http://httpd.apache.org/docs/2.4/vhosts/> |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
12 # for further details before you try to setup virtual hosts. |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
13 # |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
14 # You may use the command line option '-S' to verify your virtual host |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
15 # configuration. |
1018
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
16 Listen 80 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
17 Listen 81 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
18 Listen 82 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
19 Listen 83 |
1041
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
20 Listen 84 |
953
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
21 |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
22 <VirtualHost *:80> |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 ServerAdmin webmaster@localhost |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 ErrorLog logs/lada-error_log |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 CustomLog logs/lada-access_log common |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
27 # Fake Shibboleth-like authentication headers |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
28 RequestHeader set X-SHIB-user "testeins" |
1018
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
29 # Erfasser |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
30 RequestHeader set X-SHIB-roles "cn=mst_11010" |
953
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
31 |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
32 # Add Proxy for Lada-server |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
33 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
34 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
35 # Add Proxy for printing |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
36 #ProxyPass /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
37 #ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
38 </VirtualHost> |
1018
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
39 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
40 <VirtualHost *:81> |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
41 ServerAdmin webmaster@localhost |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
42 ErrorLog logs/lada-error_log |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
43 CustomLog logs/lada-access_log common |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
44 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
45 # Fake Shibboleth-like authentication headers |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
46 RequestHeader set X-SHIB-user "testeins" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
47 # Status-Erfasser |
1040
6a176e9ca890
Removed TODOs in i18n, some probably provisorily.
Tom Gottfried <tom@intevation.de>
parents:
1018
diff
changeset
|
48 RequestHeader set X-SHIB-roles "cn=mst_11010_status,cn=land_11_status" |
1018
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
49 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
50 # Add Proxy for Lada-server |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
51 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
52 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
53 </VirtualHost> |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
54 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
55 <VirtualHost *:82> |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
56 ServerAdmin webmaster@localhost |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
57 ErrorLog logs/lada-error_log |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
58 CustomLog logs/lada-access_log common |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
59 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
60 # Fake Shibboleth-like authentication headers |
1040
6a176e9ca890
Removed TODOs in i18n, some probably provisorily.
Tom Gottfried <tom@intevation.de>
parents:
1018
diff
changeset
|
61 RequestHeader set X-SHIB-user "testnull" |
1018
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
62 # Status-Land |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
63 RequestHeader set X-SHIB-roles "cn=land_11_status" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
64 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
65 # Add Proxy for Lada-server |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
66 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
67 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
68 </VirtualHost> |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
69 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
70 <VirtualHost *:83> |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
71 ServerAdmin webmaster@localhost |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
72 ErrorLog logs/lada-error_log |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
73 CustomLog logs/lada-access_log common |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
74 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
75 # Fake Shibboleth-like authentication headers |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
76 RequestHeader set X-SHIB-user "testeins" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
77 # Status-Leitstelle |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
78 RequestHeader set X-SHIB-roles "cn=lst_kiel" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
79 |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
80 # Add Proxy for Lada-server |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
81 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
82 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
418e25969a16
Serve roles on different ports for easier testing.
Tom Gottfried <tom@intevation.de>
parents:
953
diff
changeset
|
83 </VirtualHost> |
1041
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
84 |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
85 <VirtualHost *:84> |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
86 ServerAdmin webmaster@localhost |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
87 ErrorLog logs/lada-error_log |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
88 CustomLog logs/lada-access_log common |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
89 |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
90 # Fake Shibboleth-like authentication headers |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
91 RequestHeader set X-SHIB-user "testeins" |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
92 # Stammdatenpflege-Land |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
93 RequestHeader set X-SHIB-roles "cn=land_06_stamm" |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
94 |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
95 # Add Proxy for Lada-server |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
96 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
97 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" |
3ef492b5240b
Add access with a role for Stammdatenpflege.
Tom Gottfried <tom@intevation.de>
parents:
1040
diff
changeset
|
98 </VirtualHost> |