Mercurial > lada > lada-client
annotate custom-vhosts.conf @ 1013:75ce503ab296 stammdatengrids
Added a Ortszuordnungwindow and Form
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Tue, 26 Jan 2016 12:29:59 +0100 |
parents | c3feae5ee714 |
children | 418e25969a16 |
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. |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
16 |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
17 <VirtualHost *:80> |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
18 ServerAdmin webmaster@localhost |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
19 ErrorLog logs/lada-error_log |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
20 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
|
21 |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
22 # Fake Shibboleth-like authentication headers |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
23 RequestHeader set X-SHIB-user "testeins" |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
24 RequestHeader set X-SHIB-roles "cn=Imis-World, cn=mst_06010, cn=mst_11010" |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
25 |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
26 # Add Proxy for Lada-server |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
27 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
|
28 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
|
29 # Add Proxy for printing |
c3feae5ee714
Add example config for V-host/proxy and adapt docs.
Tom Gottfried <tom@intevation.de>
parents:
diff
changeset
|
30 #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
|
31 #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
|
32 </VirtualHost> |