Mercurial > mxd2map
view contrib/apache/mxd-testbed.conf @ 301:2cb2d8eb56ed
Add WMS Support in the Reader classes and
add new Reader classes for WMS Layers
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Wed, 05 Sep 2012 16:19:18 +0200 |
parents | 4dc2b9aa3c57 |
children |
line wrap: on
line source
# # Copyright (c) 2011 by Intevation GmbH, Germany <info@intevation.de> # # This file is part of MXD2map. # # This program is free software under the LGPL (>=v2.1) # Read the file LICENCE.txt coming with the software for details # or visit http://www.gnu.org/licenses/ if it does not exist. # # MXD2map has been developed on behalf of the # Bundesamt fuer Seeschifffahrt und Hydrographie (BSH) in Hamburg # by Intevation GmbH. # # Authors: # Raimund Renkert <raimund.renkert@intevation.de> # Bjoern Schilberg <bjoern.schilberg@intevation.de> # Stephan Holl <stephan.holl@intevation.de> # # VirtualHost template # Note: to use the template, rename it to /etc/apache2/vhost.d/yourvhost.conf. # Files must have the .conf suffix to be loaded. # # See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints # about virtual hosts. # # NameVirtualHost statements can be added to /etc/apache2/listen.conf. # # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # <VirtualHost *:80> ServerAdmin webmaster@dummy-host.example.com ServerName dummy-host.example.com # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. DocumentRoot /home/intevation/mxd-testbed/web # if not specified, the global error log is used ErrorLog /var/log/apache2/mxd-testbed_error.log CustomLog /var/log/apache2/mxd-testbed_access.log combined # don't loose time with IP address lookups HostnameLookups Off # needed for named virtual hosts UseCanonicalName Off # configures the footer on server-generated documents ServerSignature On # Optionally, include *.conf files from /etc/apache2/conf.d/ # # For example, to allow execution of PHP scripts: # # Include /etc/apache2/conf.d/mod_php4.conf # # or, to include all configuration snippets added by packages: # Include /etc/apache2/conf.d/*.conf # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/" # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have one, and where ScriptAlias points to. # <Directory "/srv/www/cgi-bin"> AllowOverride None Options +ExecCGI -Includes +FollowSymLinks Order allow,deny Allow from all </Directory> # # This should be changed to whatever you set DocumentRoot to. # <Directory "/home/intevation/mxd-testbed/web"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs-2.2/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all </Directory> </VirtualHost>