Mercurial > lada > lada-client
comparison custom-vhosts.conf @ 953:c3feae5ee714
Add example config for V-host/proxy and adapt docs.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 04 Nov 2015 19:14:05 +0100 |
parents | |
children | 418e25969a16 |
comparison
equal
deleted
inserted
replaced
952:0ecbcafdb32f | 953:c3feae5ee714 |
---|---|
1 # Virtual Hosts | |
2 # | |
3 # Required modules: mod_log_config | |
4 | |
5 # If you want to maintain multiple domains/hostnames on your | |
6 # machine you can setup VirtualHost containers for them. Most configurations | |
7 # use only name-based virtual hosts so the server doesn't need to worry about | |
8 # IP addresses. This is indicated by the asterisks in the directives below. | |
9 # | |
10 # Please see the documentation at | |
11 # <URL:http://httpd.apache.org/docs/2.4/vhosts/> | |
12 # for further details before you try to setup virtual hosts. | |
13 # | |
14 # You may use the command line option '-S' to verify your virtual host | |
15 # configuration. | |
16 | |
17 <VirtualHost *:80> | |
18 ServerAdmin webmaster@localhost | |
19 ErrorLog logs/lada-error_log | |
20 CustomLog logs/lada-access_log common | |
21 | |
22 # Fake Shibboleth-like authentication headers | |
23 RequestHeader set X-SHIB-user "testeins" | |
24 RequestHeader set X-SHIB-roles "cn=Imis-World, cn=mst_06010, cn=mst_11010" | |
25 | |
26 # Add Proxy for Lada-server | |
27 ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" | |
28 ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" | |
29 # Add Proxy for printing | |
30 #ProxyPass /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print | |
31 #ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print | |
32 </VirtualHost> |