Index: trunk/debs/wikimedia-apache-config-appserver/debian/files |
— | — | @@ -1 +1 @@ |
2 | | -wikimedia-apache-config-appserver_1.0_all.deb unknown optional |
| 2 | +wikimedia-apache-config-appserver_1.1_all.deb unknown optional |
Index: trunk/debs/wikimedia-apache-config-appserver/debian/changelog |
— | — | @@ -1,3 +1,10 @@ |
| 2 | +wikimedia-apache-config-appserver (1.2) feisty; urgency=low |
| 3 | + |
| 4 | + * Load some required modules. |
| 5 | + * Log to the right place (/usr/local/apache/logs) |
| 6 | + |
| 7 | + -- River Tarnell <river@wikimedia.org> Sat, 12 May 2007 19:27:37 +0000 |
| 8 | + |
2 | 9 | wikimedia-apache-config-appserver (1.1) feisty; urgency=low |
3 | 10 | |
4 | 11 | * Include sudoers rules needed for apaches. |
Index: trunk/debs/wikimedia-apache-config-appserver/nonexistent.conf |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | <VirtualHost *> |
4 | 4 | DocumentRoot "/usr/local/apache/common/docroot/default" |
5 | 5 | ServerName nonexistent |
6 | | - ErrorLog logs/nonexistent-error_log |
7 | | - CustomLog logs/nonexistent-log combined |
| 6 | + ErrorLog /usr/local/apache/logs/nonexistent-error_log |
| 7 | + CustomLog /usr/local/apache/logs/nonexistent-log combined |
8 | 8 | </VirtualHost> |
9 | 9 | |
Index: trunk/debs/wikimedia-apache-config-appserver/apache2.conf |
— | — | @@ -1,4 +1,10 @@ |
2 | 2 | LoadModule php5_module /usr/lib/apache2/modules/libphp5.so |
| 3 | +LoadModule authz_host_module /usr/lib/apache2/modules/mod_authz_host.so |
| 4 | +LoadModule expires_module /usr/lib/apache2/modules/mod_expires.so |
| 5 | +LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so |
| 6 | +LoadModule headers_module /usr/lib/apache2/modules/mod_headers.so |
| 7 | +LoadModule alias_module /usr/lib/apache2/modules/mod_alias.so |
| 8 | +LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so |
3 | 9 | |
4 | 10 | ServerRoot "/etc/apache2" |
5 | 11 | #LockFile /usr/local/apache/logs/httpd.lock |
Index: trunk/debs/wikimedia-apache-config-appserver/wikimedia.conf |
— | — | @@ -81,8 +81,8 @@ |
82 | 82 | # Waiting for Mark to write it |
83 | 83 | RewriteRule ^/$ http://www.wikimedia.org/w/extract2.php?title=Www.wikimedia.org_portal&template=Www.wikimedia.org_template [L] |
84 | 84 | |
85 | | - ErrorLog logs/wikimedia-error_log |
86 | | - CustomLog logs/wikimedia-log combined |
| 85 | + ErrorLog /usr/local/apache/logs/wikimedia-error_log |
| 86 | + CustomLog /usr/local/apache/logs/wikimedia-log combined |
87 | 87 | AddDefaultCharset Off |
88 | 88 | ExpiresActive On |
89 | 89 | |
Index: trunk/debs/wikimedia-apache-config-appserver/remnant.conf |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | <VirtualHost *> |
5 | 5 | DocumentRoot "/usr/local/apache/common/docroot/meta" |
6 | 6 | ServerName meta.wikimedia.org |
7 | | - ErrorLog logs/meta.wikimedia.org-error_log |
| 7 | + ErrorLog /usr/local/apache/logs/meta.wikimedia.org-error_log |
8 | 8 | |
9 | 9 | RewriteEngine On |
10 | 10 | |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | <VirtualHost *> |
38 | 38 | DocumentRoot "/usr/local/apache/common/docroot/sources" |
39 | 39 | ServerName wikisource.org |
40 | | - ErrorLog logs/wikisource.org-error_log |
| 40 | + ErrorLog /usr/local/apache/logs/wikisource.org-error_log |
41 | 41 | |
42 | 42 | RewriteEngine On |
43 | 43 | |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | <VirtualHost *> |
68 | 68 | DocumentRoot "/usr/local/apache/common/docroot/commons" |
69 | 69 | ServerName commons.wikimedia.org |
70 | | - ErrorLog logs/commons.wikimedia.org-error_log |
| 70 | + ErrorLog /usr/local/apache/logs/commons.wikimedia.org-error_log |
71 | 71 | |
72 | 72 | RewriteEngine On |
73 | 73 | |
— | — | @@ -96,7 +96,7 @@ |
97 | 97 | <VirtualHost *> |
98 | 98 | DocumentRoot "/usr/local/apache/common/docroot/grants" |
99 | 99 | ServerName grants.wikimedia.org |
100 | | - ErrorLog logs/grants.wikimedia.org-error_log |
| 100 | + ErrorLog /usr/local/apache/logs/grants.wikimedia.org-error_log |
101 | 101 | |
102 | 102 | RewriteEngine On |
103 | 103 | |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | <VirtualHost *> |
131 | 131 | DocumentRoot "/usr/local/apache/common/docroot/wikimania2005" |
132 | 132 | ServerName wikimania2005.wikimedia.org |
133 | | - ErrorLog logs/wikimania.wikimedia.org-error_log |
| 133 | + ErrorLog /usr/local/apache/logs/wikimania.wikimedia.org-error_log |
134 | 134 | |
135 | 135 | RewriteEngine On |
136 | 136 | |
— | — | @@ -168,7 +168,7 @@ |
169 | 169 | <VirtualHost *> |
170 | 170 | DocumentRoot "/usr/local/apache/common/docroot/wikimania2006" |
171 | 171 | ServerName wikimania2006.wikimedia.org |
172 | | - ErrorLog logs/wikimania.wikimedia.org-error_log |
| 172 | + ErrorLog /usr/local/apache/logs/wikimania.wikimedia.org-error_log |
173 | 173 | |
174 | 174 | RewriteEngine On |
175 | 175 | |
— | — | @@ -201,7 +201,7 @@ |
202 | 202 | <VirtualHost *> |
203 | 203 | DocumentRoot "/usr/local/apache/common/docroot/wikimania2007" |
204 | 204 | ServerName wikimania2007.wikimedia.org |
205 | | - ErrorLog logs/wikimania.wikimedia.org-error_log |
| 205 | + ErrorLog /usr/local/apache/logs/wikimania.wikimedia.org-error_log |
206 | 206 | |
207 | 207 | RewriteEngine On |
208 | 208 | |
— | — | @@ -234,7 +234,7 @@ |
235 | 235 | <VirtualHost *> |
236 | 236 | DocumentRoot "/usr/local/apache/common/docroot/internal" |
237 | 237 | ServerName internal.wikimedia.org |
238 | | - ErrorLog logs/internal.wikimedia.org-error_log |
| 238 | + ErrorLog /usr/local/apache/logs/internal.wikimedia.org-error_log |
239 | 239 | |
240 | 240 | RewriteEngine On |
241 | 241 | |
— | — | @@ -260,7 +260,7 @@ |
261 | 261 | <VirtualHost *> |
262 | 262 | DocumentRoot "/usr/local/apache/common/docroot/board" |
263 | 263 | ServerName board.wikimedia.org |
264 | | - ErrorLog logs/board.wikimedia.org-error_log |
| 264 | + ErrorLog /usr/local/apache/logs/board.wikimedia.org-error_log |
265 | 265 | |
266 | 266 | RewriteEngine On |
267 | 267 | |
— | — | @@ -286,7 +286,7 @@ |
287 | 287 | <VirtualHost *> |
288 | 288 | DocumentRoot "/usr/local/apache/common/docroot/spcom" |
289 | 289 | ServerName spcom.wikimedia.org |
290 | | - ErrorLog logs/spcom.wikimedia.org-error_log |
| 290 | + ErrorLog /usr/local/apache/logs/spcom.wikimedia.org-error_log |
291 | 291 | |
292 | 292 | RewriteEngine On |
293 | 293 | |
— | — | @@ -312,7 +312,7 @@ |
313 | 313 | <VirtualHost *> |
314 | 314 | DocumentRoot "/usr/local/apache/common/docroot/chapcom" |
315 | 315 | ServerName chapcom.wikimedia.org |
316 | | - ErrorLog logs/chapcom.wikimedia.org-error_log |
| 316 | + ErrorLog /usr/local/apache/logs/chapcom.wikimedia.org-error_log |
317 | 317 | |
318 | 318 | RewriteEngine On |
319 | 319 | |
— | — | @@ -338,7 +338,7 @@ |
339 | 339 | <VirtualHost *> |
340 | 340 | DocumentRoot "/usr/local/apache/common/docroot/wikimaniateam" |
341 | 341 | ServerName wikimaniateam.wikimedia.org |
342 | | - ErrorLog logs/wikimaniateam.wikimedia.org-error_log |
| 342 | + ErrorLog /usr/local/apache/logs/wikimaniateam.wikimedia.org-error_log |
343 | 343 | |
344 | 344 | RewriteEngine On |
345 | 345 | |
— | — | @@ -364,7 +364,7 @@ |
365 | 365 | <VirtualHost *> |
366 | 366 | DocumentRoot "/usr/local/apache/common/docroot/incubator" |
367 | 367 | ServerName incubator.wikimedia.org |
368 | | - ErrorLog logs/incubator.wikimedia.org-error_log |
| 368 | + ErrorLog /usr/local/apache/logs/incubator.wikimedia.org-error_log |
369 | 369 | |
370 | 370 | RewriteEngine On |
371 | 371 | |
— | — | @@ -390,7 +390,7 @@ |
391 | 391 | <VirtualHost *> |
392 | 392 | DocumentRoot "/usr/local/apache/common/docroot/species" |
393 | 393 | ServerName species.wikimedia.org |
394 | | - ErrorLog logs/species.wikimedia.org-error_log |
| 394 | + ErrorLog /usr/local/apache/logs/species.wikimedia.org-error_log |
395 | 395 | |
396 | 396 | RewriteEngine On |
397 | 397 | |
— | — | @@ -420,7 +420,7 @@ |
421 | 421 | <VirtualHost *> |
422 | 422 | DocumentRoot "/usr/local/apache/common/docroot/comcom" |
423 | 423 | ServerName comcom.wikimedia.org |
424 | | - ErrorLog logs/comcom.wikimedia.org-error_log |
| 424 | + ErrorLog /usr/local/apache/logs/comcom.wikimedia.org-error_log |
425 | 425 | |
426 | 426 | RewriteEngine On |
427 | 427 | |
— | — | @@ -446,7 +446,7 @@ |
447 | 447 | <VirtualHost *> |
448 | 448 | DocumentRoot "/usr/local/apache/common/docroot/searchcom" |
449 | 449 | ServerName searchcom.wikimedia.org |
450 | | - ErrorLog logs/searchcom.wikimedia.org-error_log |
| 450 | + ErrorLog /usr/local/apache/logs/searchcom.wikimedia.org-error_log |
451 | 451 | |
452 | 452 | RewriteEngine On |
453 | 453 | |
— | — | @@ -472,7 +472,7 @@ |
473 | 473 | <VirtualHost *> |
474 | 474 | DocumentRoot "/usr/local/apache/common/docroot/langcom" |
475 | 475 | ServerName langcom.wikimedia.org |
476 | | - ErrorLog logs/langcom.wikimedia.org-error_log |
| 476 | + ErrorLog /usr/local/apache/logs/langcom.wikimedia.org-error_log |
477 | 477 | |
478 | 478 | RewriteEngine On |
479 | 479 | |
— | — | @@ -499,7 +499,7 @@ |
500 | 500 | <VirtualHost *> |
501 | 501 | DocumentRoot "/usr/local/apache/common/docroot/office" |
502 | 502 | ServerName office.wikimedia.org |
503 | | - ErrorLog logs/office.wikimedia.org-error_log |
| 503 | + ErrorLog /usr/local/apache/logs/office.wikimedia.org-error_log |
504 | 504 | |
505 | 505 | RewriteEngine On |
506 | 506 | |
— | — | @@ -525,7 +525,7 @@ |
526 | 526 | <VirtualHost *> |
527 | 527 | DocumentRoot "/usr/local/apache/common/docroot/chair" |
528 | 528 | ServerName chair.wikimedia.org |
529 | | - ErrorLog logs/chair.wikimedia.org-error_log |
| 529 | + ErrorLog /usr/local/apache/logs/chair.wikimedia.org-error_log |
530 | 530 | |
531 | 531 | RewriteEngine On |
532 | 532 | |
— | — | @@ -551,7 +551,7 @@ |
552 | 552 | <VirtualHost *> |
553 | 553 | DocumentRoot "/usr/local/apache/common/docroot/advisory" |
554 | 554 | ServerName advisory.wikimedia.org |
555 | | - ErrorLog logs/advisory.wikimedia.org-error_log |
| 555 | + ErrorLog /usr/local/apache/logs/advisory.wikimedia.org-error_log |
556 | 556 | |
557 | 557 | RewriteEngine On |
558 | 558 | |
Index: trunk/debs/wikimedia-apache-config-appserver/foundation.conf |
— | — | @@ -2,8 +2,8 @@ |
3 | 3 | DocumentRoot "/usr/local/apache/common/docroot/foundation" |
4 | 4 | ServerName wikimediafoundation.org |
5 | 5 | |
6 | | - ErrorLog logs/foundation.wikipedia-error_log |
7 | | - CustomLog logs/foundation.wikipedia-access_log combined |
| 6 | + ErrorLog /usr/local/apache/logs/foundation.wikipedia-error_log |
| 7 | + CustomLog /usr/local/apache/logs/foundation.wikipedia-access_log combined |
8 | 8 | |
9 | 9 | # Some additional CGI scripts |
10 | 10 | # for donation tracking... |
Index: trunk/debs/wikimedia-apache-config-appserver/www.wikipedia.conf |
— | — | @@ -3,8 +3,8 @@ |
4 | 4 | DocumentRoot "/usr/local/apache/common/docroot/www.wikipedia.org" |
5 | 5 | ServerName www.wikipedia.org |
6 | 6 | ServerAlias wikipedia.org |
7 | | - ErrorLog logs/www.wikipedia.org-error_log |
8 | | - CustomLog logs/www.wikipedia.org-log combined |
| 7 | + ErrorLog /usr/local/apache/logs/www.wikipedia.org-error_log |
| 8 | + CustomLog /usr/local/apache/logs/www.wikipedia.org-log combined |
9 | 9 | |
10 | 10 | RewriteEngine On |
11 | 11 | |