[imp] IMP: problem with attachments]

Oscar A. Valdez oscar.valdez at plastipak.com.sv
Tue Apr 15 23:07:09 PDT 2003


My ServerRoot/conf.d/php.conf contains the following lines:

<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
    LimitRequestBody 524288
</Files>

Is it a matter of choosing between this configuration and
"AddType application/x-httpd-php .php", or is one preferable to the
other?

Oscar

El jue, 10-04-2003 a las 17:11, Eric Rostetter escribio:
> Quoting "Oscar A. Valdez" <oscar.valdez at plastipak.com.sv>:
> 
> > I recently upgraded to the following:
> >
> > Red Hat Linux 8.0
> > Apache 2.0.40 (from RH rpm's)
> > PHP 4.2.2 (from RH rpm's)
> 
> There is likely the problem.
> 
> > My problem with attachments is that they get corrupted and duplicated.
> 
> This is usually due to:
> 
>    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.
> 
> 
> --
> Eric Rostetter
> The Department of Physics
> The University of Texas at Austin
> 
> Why get even? Get odd!
> 
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
-- 
Oscar A. Valdez
Plastipak, S.A. de C.V.




More information about the imp mailing list