comparison contrib/apache/mxd-testbed.conf @ 3:d6a660a3f70d

Apache adjustments for the mxd-testbed.
author Bjoern Schilberg <bjoern@intevation.de>
date Fri, 04 Mar 2011 14:57:28 +0100
parents d4da741e3970
children 4dc2b9aa3c57
comparison
equal deleted inserted replaced
2:3d7c86dbc65c 3:d6a660a3f70d
17 ServerName dummy-host.example.com 17 ServerName dummy-host.example.com
18 18
19 # DocumentRoot: The directory out of which you will serve your 19 # DocumentRoot: The directory out of which you will serve your
20 # documents. By default, all requests are taken from this directory, but 20 # documents. By default, all requests are taken from this directory, but
21 # symbolic links and aliases may be used to point to other locations. 21 # symbolic links and aliases may be used to point to other locations.
22 DocumentRoot /srv/www/vhosts/dummy-host.example.com 22 DocumentRoot /home/intevation/mxd-testbed/web
23 23
24 # if not specified, the global error log is used 24 # if not specified, the global error log is used
25 ErrorLog /var/log/apache2/dummy-host.example.com-error_log 25 ErrorLog /var/log/apache2/mxd-testbed_error.log
26 CustomLog /var/log/apache2/dummy-host.example.com-access_log combined 26 CustomLog /var/log/apache2/mxd-testbed_access.log combined
27 27
28 # don't loose time with IP address lookups 28 # don't loose time with IP address lookups
29 HostnameLookups Off 29 HostnameLookups Off
30 30
31 # needed for named virtual hosts 31 # needed for named virtual hosts
50 # documents in the realname directory are treated as applications and 50 # documents in the realname directory are treated as applications and
51 # run by the server when requested rather than as documents sent to the client. 51 # run by the server when requested rather than as documents sent to the client.
52 # The same rules about trailing "/" apply to ScriptAlias directives as to 52 # The same rules about trailing "/" apply to ScriptAlias directives as to
53 # Alias. 53 # Alias.
54 # 54 #
55 ScriptAlias /cgi-bin/ "/srv/www/vhosts/dummy-host.example.com/cgi-bin/" 55 ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
56 56
57 # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased 57 # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
58 # CGI directory exists, if you have one, and where ScriptAlias points to. 58 # CGI directory exists, if you have one, and where ScriptAlias points to.
59 # 59 #
60 <Directory "/srv/www/vhosts/dummy-host.example.com/cgi-bin"> 60 <Directory "/srv/www/cgi-bin">
61 AllowOverride None 61 AllowOverride None
62 Options +ExecCGI -Includes 62 Options +ExecCGI -Includes +FollowSymLinks
63 Order allow,deny 63 Order allow,deny
64 Allow from all 64 Allow from all
65
65 </Directory> 66 </Directory>
66 67
67
68 # UserDir: The name of the directory that is appended onto a user's home
69 # directory if a ~user request is received.
70 #
71 # To disable it, simply remove userdir from the list of modules in APACHE_MODULES
72 # in /etc/sysconfig/apache2.
73 #
74 <IfModule mod_userdir.c>
75 # Note that the name of the user directory ("public_html") cannot simply be
76 # changed here, since it is a compile time setting. The apache package
77 # would have to be rebuilt. You could work around by deleting
78 # /usr/sbin/suexec, but then all scripts from the directories would be
79 # executed with the UID of the webserver.
80 UserDir public_html
81 # The actual configuration of the directory is in
82 # /etc/apache2/mod_userdir.conf.
83 Include /etc/apache2/mod_userdir.conf
84 # You can, however, change the ~ if you find it awkward, by mapping e.g.
85 # http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/
86 #AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
87 </IfModule>
88 68
89 69
90 # 70 #
91 # This should be changed to whatever you set DocumentRoot to. 71 # This should be changed to whatever you set DocumentRoot to.
92 # 72 #
93 <Directory "/srv/www/vhosts/dummy-host.example.com"> 73 <Directory "/home/intevation/mxd-testbed/web">
94 74
95 # 75 #
96 # Possible values for the Options directive are "None", "All", 76 # Possible values for the Options directive are "None", "All",
97 # or any combination of: 77 # or any combination of:
98 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews 78 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)