For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > September 2006 > #31852 [Ver->Asn]: /functions returns functions.js on some mirrors









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #31852 [Ver->Asn]: /functions returns functions.js on some mirrors
bjori@php.net

2006-09-28, 6:57 pm

ID: 31852
Updated by: bjori@php.net
Reported By: mazzanet at mazzanet dot id dot au
-Status: Verified
+Status: Assigned
Bug Type: Website problem
Operating System: Irrelevant
PHP Version: Irrelevant
-Assigned To:
+Assigned To: bjori
New Comment:

We need to add this to our mirror-test script..


Previous Comments:
------------------------------------------------------------------------

[2006-04-22 04:41:50] mazzanet@php.net

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.

------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31852

--
Edit this bug report at http://bugs.php.net/?id=31852&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com