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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: toni dot viemero at iki dot fi
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-04 17:10 UTC] goba@php.net
Added. Thanks for the note.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 11:01:28 2025 UTC