For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > June 2005 > #31852 [Opn->Csd]: /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 [Opn->Csd]: /functions returns functions.js on some mirrors
mazzanet@php.net

2005-06-11, 3:55 pm

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

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"


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

[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
Sponsored Links







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

Copyright 2008 codecomments.com