Re: am.php.net mirror site deactivated

From: Date: Sun, 25 Jun 2006 17:02:27 +0000
Subject: Re: am.php.net mirror site deactivated
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-31852@lists.php.net to get a copy of this message
Greetings all, As per my observation, Apache/2.0.58 with PHP/5.1.4 as mirror platform breaks mirror check script. I've recently moved the mirror from apache/1.3latest php4latest to a new server. With default php mirror httpd.conf virtual host code this is what I get when I access am.php.net from US hosts: GET /mirror-info HTTP/1.0 Host: am.php.net HTTP/1.1 302 Found Date: Sun, 25 Jun 2006 16:52:17 GMT Server: Apache/2.0.58 (FreeBSD) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Content-language: en Set-Cookie: COUNTRY=USA%2C69.31.42.154; expires=Sun, 02-Jul-2006 16:52:21 GMT; path=/; domain=.php.net X-PHP-Load: 0.103515625, 0.78759765625, 0.63330078125 Location: http://us3.php.net/mirror-info Content-Length: 0 Connection: close Content-Type: text/html; charset=utf-8 I also get this in logs: access.log:69.31.42.154 - - [25/Jun/2006:21:52:17 +0500] "GET /mirror-info HTTP/1.0" 302 - "-" "-" error.log:[Sun Jun 25 21:52:21 2006] [error] [client 69.31.42.154] File does not exist: /data/mirrors/php/htdocs/mirror-info If I add Options MultiViews to the DOCUMENT_ROOT directory of the mirror, everything works ok: GET /mirror-info HTTP/1.0 Host: am.php.net HTTP/1.1 200 OK Date: Sun, 25 Jun 2006 16:52:54 GMT Server: Apache/2.0.58 (FreeBSD) PHP/5.1.4 Content-Location: mirror-info.php Vary: negotiate TCN: choice X-Powered-By: PHP/5.1.4 Content-language: en Set-Cookie: COUNTRY=USA%2C69.31.42.154; expires=Sun, 02-Jul-2006 16:52:58 GMT; path=/; domain=.php.net Connection: close Content-Type: text/plain;charset=ISO-8859-1 http://am.php.net/|5.1.4|1151241498|0|1|en|manual-noalias|1 access.log:69.31.42.154 - - [25/Jun/2006:21:52:54 +0500] "GET /mirror-info HTTP/1.0" 200 59 "-" "-" Any clues? Here is my httpd.conf block:
        ServerName am.php.net
        ServerAlias php.mirrors.arminco.com www.am.php.net
        ServerAdmin vahan@arminco.com
        DocumentRoot /data/mirrors/php/htdocs
        php_value include_path .:/data/mirrors/php/htdocs/include
        php_flag register_globals on
        ErrorLog /data/mirrors/php/logs/error.log
        CustomLog /data/mirrors/php/logs/access.log combined
        DirectoryIndex index.php index.html
        Options -Indexes -MultiViews
        ErrorDocument 401 /error.php
        ErrorDocument 403 /error.php
        ErrorDocument 404 /error.php
        AddType application/octet-stream .chm .bz2 .tgz
        AddType application/x-pilot .prc .pdb
        SetEnv MIRROR_LANGUAGE "en"
        Alias /stats/ /data/mirrors/php/stats/
        SetEnv MIRROR_STATS 1
As you can see there is a "Options -Indexes -MultiViews" in there by default. Best regards, Vahan

« previous php.mirrors (#31852) next »