view custom-vhosts.conf @ 1000:5beb2581a989

A fix which is supposed to reload the statuswerte store, when the Add button is used
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 15:19:42 +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>

http://lada.wald.intevation.org