cvs: phpweb / mirroring.php
| From: | Hannes Magnusson | Date: | Thu, 29 Mar 2007 20:31:23 +0000 |
| Subject: | cvs: phpweb / mirroring.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34995@lists.php.net to get a copy of this message | ||
bjori Thu Mar 29 20:31:23 2007 UTC
Modified files:
/phpweb mirroring.php
Log:
Workaround apache bug#41987 (affecting bunch of our mirrors)
http://cvs.php.net/viewvc.cgi/phpweb/mirroring.php?r1=1.57&r2=1.58&diff_format=u
Index: phpweb/mirroring.php
diff -u phpweb/mirroring.php:1.57 phpweb/mirroring.php:1.58
--- phpweb/mirroring.php:1.57 Thu Mar 29 18:03:30 2007
+++ phpweb/mirroring.php Thu Mar 29 20:31:23 2007
@@ -1,5 +1,5 @@
<?php
-// $Id: mirroring.php,v 1.57 2007/03/29 18:03:30 bjori Exp $
+// $Id: mirroring.php,v 1.58 2007/03/29 20:31:23 bjori Exp $
$_SERVER['BASE_PAGE'] = 'mirroring.php';
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
$SIDEBAR_DATA = '
@@ -141,7 +141,7 @@
as PHP parsed files. If it isn't, add the mime-type to your config.
</p>
<p class="warn">
- Please make sure you have turned off output compression for binary files and disabled
mod_negotiation
+ Please make sure you have turned off output compression for binary files
</p>
<p>
@@ -150,7 +150,12 @@
<a name="settings"></a>
<pre>
- <VirtualHost *-or-your-hostname-or-your-ip-here>
+<VirtualHost *-or-your-hostname-or-your-ip-here>
+ <Directory /www/htdocs/phpweb>
+ # Do not display directory listings if index is not present,
+ # and do not try to match filenames if extension is omitted
+ Options -Indexes -MultiViews
+ </Directory>
ServerName xx.php.net
ServerAlias the.cname.you.set.up.example.com www.xx.php.net
@@ -169,10 +174,6 @@
# Set directory index
DirectoryIndex index.php index.html
- # Do not display directory listings if index is not present,
- # and do not try to match filenames if extension is omitted
- Options -Indexes -MultiViews
-
# Handle errors with local error handler script
ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
@@ -204,7 +205,7 @@
# configuration, and comment it out:
# AddHandler strip-meta-http .htm .html
- </VirtualHost>
+</VirtualHost>
</pre>
<p>