[imp] imp 3.2.5: upload attachment corruptions
Eric Rostetter
eric.rostetter at physics.utexas.edu
Mon Aug 16 14:45:59 PDT 2004
Quoting Jim Ward <seker at uwyo.edu>:
> The attachements are being corrupted on upload from firefox and IE.
> I made a number of tests and the contents of the file are being duplicated.
Something like this can happen if your apache is configured to use php
as both a handler and an output filter. From the horde/docs/INSTALL file:
a. PHP interpretation for files matching "*.php"
AddType application/x-httpd-php .php
Note: The above instructions may not work if you have specified
PHP as an output filter with SetOutputFilter directive
in Apache 2.x versions. In particular, RedHat 8.0 Apache 2.x
RPMS have the output filter set, and MUST NOT have the above
AddType directive added.
Red Hat ships php as a filter via /etc/httpd/conf.d/php.conf so you can
not add the above AddType or you will have problems, including file upload
problems like you mention.
--
Eric Rostetter
The Department of Physics
The University of Texas at Austin
Why get even? Get odd!
More information about the imp
mailing list