From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 Galeon/1.3.15 Description of problem: I have the PHP manual (multiple files) downloaded from http://www.php.net/get/php_manual_en.tar.gz/from/a/mirror and am trying to view chapter CXIV "Variable Functions". Trying to view this document through http://localhost throws a 500 error and the apache log shows: [Tue Jul 06 14:44:16 2004] [error] [client 127.0.0.1] Syntax error in type map, no ':' in /home/drfickle/public_html/docs/PHP/ref.var.html for header <!doctype html public "-//w3c//dtd html 4.01 transitional//en">\n Version-Release number of selected component (if applicable): httpd-2.0.49-4 How reproducible: Always Steps to Reproduce: 1.Download the PHP manual and extract it. 2. Load http://localhost/PHP/ref.var.html in my browser 3. 500 error shown Additional info: I get this same error with Mozilla and elinks. I can use these browsers to read the file properly off the file system, avoiding Apache. As far as I can tell, no other pages in the manual have this problem. I am using an ext3 filesystem and have this same problem on another machine with the same configuration. A co-worker using Apache 2.0.49 on Debian was unable to recreate it. I have mod_perl, mod_ssl, and PHP installed.
Created attachment 101665 [details] ref.var.html Here is the file that makes Apache upset. It can even be copied to an empty directory and give the same error.
The .var. extension means the page is being interpreted as a type-map file by default. Either uncomment the "AddHandler type-map .var" from httpd.conf, or, if you are allowing FileInfo overrides in /home/*., just add an .htaccess file into the PHP manual directory, with the single line: RemoveHandler .var
Wow, that is wild. It never caused a problem on FC1, so I guess I mustn't have had the handler enabled. Thanks for the quick, very helpful response.