Mercurial > lada > lada-client
view custom-vhosts.conf @ 979:c6ae0aadb634 stammdatengrids
tidied up
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 03 Dec 2015 09:58:36 +0100 |
parents | c3feae5ee714 |
children | 418e25969a16 |
line wrap: on
line source
# Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # <URL:http://httpd.apache.org/docs/2.4/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. <VirtualHost *:80> ServerAdmin webmaster@localhost ErrorLog logs/lada-error_log CustomLog logs/lada-access_log common # Fake Shibboleth-like authentication headers RequestHeader set X-SHIB-user "testeins" RequestHeader set X-SHIB-roles "cn=Imis-World, cn=mst_06010, cn=mst_11010" # Add Proxy for Lada-server ProxyPass "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" ProxyPassReverse "/lada-server/" "http://lada-server:8080/lada-server-2.2.0/" # Add Proxy for printing #ProxyPass /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print #ProxyPassReverse /lada-client/lada-printer http://MAPFISH-PRINT-URL/lada_print </VirtualHost>