Ask a Question related to PHP Development, Design and Development.
-
sniper@php.net #1
#25009 [Fbk->Csd]: PHP files being downloaded on 404's if application/x-httpd-php contains da ext.
ID: 25009
Updated by: [email]sniper@php.net[/email]
Reported By: mjsabby at yahoo dot com
-Status: Feedback
+Status: Closed
Bug Type: Apache2 related
Operating System: Redhat Linux 9 (2.4.20)
PHP Version: 4.3.3RC3
New Comment:
Oops..keep closed, it's really fixed.
Previous Comments:
------------------------------------------------------------------------
[2003-08-10 21:14:58] [email]sniper@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]
------------------------------------------------------------------------
[2003-08-10 21:13:06] mjsabby at yahoo dot com
It has okies, I need to read up how to get files from CVS, don't know
how it's done.
anyway may be i'll try PHP5
------------------------------------------------------------------------
[2003-08-10 21:10:57] [email]iliaa@php.net[/email]
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at [url]http://snaps.php.net/[/url].
In case this was a documentation problem, the fix will show up soon at
[url]http://www.php.net/manual/[/url].
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2003-08-10 21:08:24] mjsabby at yahoo dot com
Description:
------------
Hello,
I don't know why it is so strange but this is a bug it seems.
I'm running Apache 2.0.47, and PHP 4.3.3RC3
When I add these lines to my apache conf file :
AddType application/x-httpd-php .php .html
And run my PHP scripts, eveyrhting goes great, for both php and html
files. Now what happens is that I also have an ErrorDocument 404
/404.html
Now when a 404 occurs, both these files get downloaded, and it says
downloading file of type application/x-httpd-php, and there is no
content in it, so in IE it says cannot download in Netscape it
downloads with 0 byte data.
And when I remove an extension say most of my 404's will be from a .php
file since I've moved my server, so I removed that and when a 404 for
..php files, it works!
Thanks.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=25009&edit=1[/url]
sniper@php.net Guest
-
Downloaded JPEG files not recognized
JPEG Files saved off of the internet using xplorer 5 are not being recognized by Photoshop 6.0. Any Suggestions as to why? -
[PHP] files being downloaded when a 404 occurs
Look at this bug file : http://bugs.php.net/bug.php?id=25009 It's been fixed in the CVS snapshots, anything after the 11PM GMT on the 10th of... -
#25009 [Csd->Fbk]: PHP files being downloaded on 404's if application/x-httpd-php contains da ext.
ID: 25009 Updated by: sniper@php.net Reported By: mjsabby at yahoo dot com -Status: Closed +Status: ... -
#25009 [Opn->Csd]: PHP files being downloaded on 404's if application/x-httpd-php contains da ext.
ID: 25009 Updated by: iliaa@php.net Reported By: mjsabby at yahoo dot com -Status: Open +Status: ... -
#25009 [NEW]: PHP files being downloaded on 404's if application/x-httpd-php contains da ext.
From: mjsabby at yahoo dot com Operating system: Redhat Linux 9 (2.4.20) PHP version: 4.3.3RC3 PHP Bug Type: Apache2 related...



Reply With Quote

