Mercurial > dive4elements > river
annotate doc/d4e-apache.conf @ 9790:75dc4ea60938 3.2.x
Drop using explicit container names
Compose will generate names for the containers and containers can connect
each other on the network via the service names. This avoids the
unnecessary extra "name space" and prepares the application for usage
with different project names.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 20 Jul 2023 10:25:59 +0200 |
parents | 195233a91e04 |
children |
rev | line source |
---|---|
7812
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
1 <VirtualHost *:8081> |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
2 ServerAdmin webmaster@localhost |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
3 |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
4 DocumentRoot /var/www |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
5 <Directory /> |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
6 Options FollowSymLinks |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
7 AllowOverride None |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
8 </Directory> |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
9 <Directory /var/www/> |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
10 Options Indexes FollowSymLinks MultiViews |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
11 AllowOverride None |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
12 Order allow,deny |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
13 allow from all |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
14 </Directory> |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
15 |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
16 ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
17 <Directory "/usr/lib/cgi-bin"> |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
18 AllowOverride None |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
19 Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
20 Order allow,deny |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
21 Allow from all |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
22 </Directory> |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
23 |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
24 ProxyPass /d4e-river ajp://localhost:8009/d4e-river |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
25 ProxyPassReverse /d4e-river ajp://localhost:8009/d4e-river |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
26 |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
27 ErrorLog /var/log/d4e-river/apache-error.log |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
28 |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
29 # Possible values include: debug, info, notice, warn, error, crit, |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
30 # alert, emerg. |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
31 LogLevel warn |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
32 |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
33 CustomLog /var/log/d4e-river/apache-access.log combined |
195233a91e04
Added apache example config, updated install doku.
Raimund Renkert <rrenkert@intevation.de>
parents:
diff
changeset
|
34 </VirtualHost> |