Red Hat Bugzilla – Bug 164731
php interprets .php.gz files
Last modified: 2007-11-30 17:11:10 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.01
Description of problem:
.php.gz files are interpret as .php files instead of .gz files
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. gzip a php file
2. place in web tree
3. attempt to retrieve.
Actual Results: This shows up in the error log:
[client <ipaddress>] PHP Warning: Unexpected character in input: '\x06'
(ASCII=6) state=1 in /home/html/projects/test.php.gz on line 219, referer: http:/
An empty file is returned to the browser
Expected Results: test.php.gz should be downloaded. PHP should not be a part of the request.
Please see bug 163971 comment 3 for a workaround.
*** This bug has been marked as a duplicate of 163971 ***