#31852 [Ver]: /functions returns functions.js on some mirrors

From: Date: Sat, 22 Apr 2006 04:41:54 +0000
Subject: #31852 [Ver]: /functions returns functions.js on some mirrors
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-31254@lists.php.net to get a copy of this message
ID: 31852 Updated by: mazzanet@php.net Reported By: mazzanet at mazzanet dot id dot au Status: Verified Bug Type: Website problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: This bug is still occuring :/ From the very little time I've looked at it, I still can't work out what the heck is causing this. Previous Comments: ------------------------------------------------------------------------ [2005-09-23 10:46:34] sniper@php.net Still happening at least with the fi mirror, fi2 doesn't seem to be quite operational atm. ------------------------------------------------------------------------ [2005-06-13 08:59:06] mazzanet@php.net Re-opening. MultiViews may fix some of the listed mirrors but not all. After some discussion with a mirror admin and some experiments, one of the mirrors affected (us4) fixed itself overnight without any user input. Affected mirrors all send the following in the headers: (for requesting /print) TCN: choice Vary: negotiate Content-location: /print.css This indicates some form of content negotiation. us4 which "magically fixed itself overnight" is now sending: TCN: choice Vary: Cookie Content-location is missing. ------------------------------------------------------------------------ [2005-06-11 14:26:14] mazzanet@php.net After some examination (thanks erigol), it appears the cause of this is not disabling MultiViews in the Apache configuration of these mirrors. To fix this, the listed mirrors need to re-read the mirroring guidelines and have the following line in their Apache configuration: "Options -Indexes -Multiviews" ------------------------------------------------------------------------ [2005-05-24 00:02:31] mazzanet@php.net For the same mirrors, /print returns the contents of /print.css as well. So effectively, on these mirrors any URL shortcut that mostly matches (eg. print -> print.css, functions -> functions.js) a file in the web root, the contents of the file is always returned. ------------------------------------------------------------------------ [2005-02-05 13:44:05] mazzanet at mazzanet dot id dot au Description: ------------ On the mirrors au, au2, fi, fi2, id2, ie2, lv, nl3, no, sg2, es, ch2, th, th2, uk2 and us4, the /functions shortcut returns the contents of functions.js Reproduce code: --------------- http://[affected mirrors].php.net/functions Expected result: ---------------- The Functions doc page Actual result: -------------- Contents of functions.js ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31852&edit=1

« previous php.mirrors (#31254) next »