Mercurial > mxd2map
annotate contrib/apache/mxd-testbed.conf @ 203:123fd9887a4f
Rollback the jointable checks.
author | raimund renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 21 Jul 2011 16:12:39 +0200 |
parents | d6a660a3f70d |
children | 4dc2b9aa3c57 |
rev | line source |
---|---|
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
1 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
2 # VirtualHost template |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
3 # Note: to use the template, rename it to /etc/apache2/vhost.d/yourvhost.conf. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
4 # Files must have the .conf suffix to be loaded. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
5 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
6 # See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
7 # about virtual hosts. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
8 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
9 # NameVirtualHost statements can be added to /etc/apache2/listen.conf. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
10 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
11 # Almost any Apache directive may go into a VirtualHost container. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
12 # The first VirtualHost section is used for requests without a known |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
13 # server name. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
14 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
15 <VirtualHost *:80> |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
16 ServerAdmin webmaster@dummy-host.example.com |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
17 ServerName dummy-host.example.com |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
18 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
19 # DocumentRoot: The directory out of which you will serve your |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
20 # documents. By default, all requests are taken from this directory, but |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
21 # symbolic links and aliases may be used to point to other locations. |
3
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
22 DocumentRoot /home/intevation/mxd-testbed/web |
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
23 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
24 # if not specified, the global error log is used |
3
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
25 ErrorLog /var/log/apache2/mxd-testbed_error.log |
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
26 CustomLog /var/log/apache2/mxd-testbed_access.log combined |
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
27 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
28 # don't loose time with IP address lookups |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
29 HostnameLookups Off |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
30 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
31 # needed for named virtual hosts |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
32 UseCanonicalName Off |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
33 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
34 # configures the footer on server-generated documents |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
35 ServerSignature On |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
36 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
37 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
38 # Optionally, include *.conf files from /etc/apache2/conf.d/ |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
39 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
40 # For example, to allow execution of PHP scripts: |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
41 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
42 # Include /etc/apache2/conf.d/mod_php4.conf |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
43 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
44 # or, to include all configuration snippets added by packages: |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
45 # Include /etc/apache2/conf.d/*.conf |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
46 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
47 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
48 # ScriptAlias: This controls which directories contain server scripts. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
49 # ScriptAliases are essentially the same as Aliases, except that |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
50 # documents in the realname directory are treated as applications and |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
51 # run by the server when requested rather than as documents sent to the client. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
52 # The same rules about trailing "/" apply to ScriptAlias directives as to |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
53 # Alias. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
54 # |
3
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
55 ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/" |
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
56 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
57 # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
58 # CGI directory exists, if you have one, and where ScriptAlias points to. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
59 # |
3
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
60 <Directory "/srv/www/cgi-bin"> |
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
61 AllowOverride None |
3
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
62 Options +ExecCGI -Includes +FollowSymLinks |
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
63 Order allow,deny |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
64 Allow from all |
3
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
65 |
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
66 </Directory> |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
67 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
68 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
69 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
70 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
71 # This should be changed to whatever you set DocumentRoot to. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
72 # |
3
d6a660a3f70d
Apache adjustments for the mxd-testbed.
Bjoern Schilberg <bjoern@intevation.de>
parents:
1
diff
changeset
|
73 <Directory "/home/intevation/mxd-testbed/web"> |
1
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
74 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
75 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
76 # Possible values for the Options directive are "None", "All", |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
77 # or any combination of: |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
78 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
79 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
80 # Note that "MultiViews" must be named *explicitly* --- "Options All" |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
81 # doesn't give it to you. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
82 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
83 # The Options directive is both complicated and important. Please see |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
84 # http://httpd.apache.org/docs-2.2/mod/core.html#options |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
85 # for more information. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
86 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
87 Options Indexes FollowSymLinks |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
88 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
89 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
90 # AllowOverride controls what directives may be placed in .htaccess files. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
91 # It can be "All", "None", or any combination of the keywords: |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
92 # Options FileInfo AuthConfig Limit |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
93 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
94 AllowOverride None |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
95 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
96 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
97 # Controls who can get stuff from this server. |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
98 # |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
99 Order allow,deny |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
100 Allow from all |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
101 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
102 </Directory> |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
103 |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
104 </VirtualHost> |
d4da741e3970
Added initial apache configuration stuff.
Bjoern Schilberg <bjoern@intevation.de>
parents:
diff
changeset
|
105 |