php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28272 Apache2 "var type map" doesn't work with PHP.net mirrors
Submitted: 2004-05-04 15:27 UTC Modified: 2004-05-04 17:09 UTC
From: toni dot viemero at iki dot fi Assigned:
Status: Closed Package: Website problem
PHP Version: 4.3.6 OS: Irrelevant
Private report: No CVE-ID: None
 [2004-05-04 15:27 UTC] toni dot viemero at iki dot fi
Description:
------------
FYI

"AddHandler type-map var" is enabled by default in Apache2. Searching for "var" in PHP.net searchbox on mirror running Apache2 gives "500 Internal Error" when redirected to /manual/en/ref.var.php.

I fixed this by adding "RemoveHandler var" in fi.php.net VirtualHost configuration.

Update /mirroring.php to give heads-up for this?

--- /www/php.ego.fi/htdocs/mirroring.php        Sat Dec  6 17:11:47 2003
+++ mirroring.php       Tue May  4 16:26:41 2004
@@ -164,6 +164,9 @@
      Alias /stats/ /path/to/local/stats/
      SetEnv MIRROR_STATS 1

+     # Apache2 has 'AddHandler type-map var' enabled by default
+     # remove this comment if you have it enabled.
+     # RemoveHandler var
    </VirtualHost>
 </pre>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-04 17:10 UTC] goba@php.net
Added. Thanks for the note.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 19:01:29 2024 UTC