httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] mod_deflate mod_php/php-cgi
Date Wed, 10 Jun 2009 17:32:41 GMT
On Wed, Jun 10, 2009 at 11:33 AM, Tom Evans<> wrote:
> On Wed, 2009-06-10 at 16:41 +0200, Andre Hübner wrote:
>> > Tough to guess.  Relevant Config, logs, and the request/response are a
>> > good start.
>> oh, it works now. if called php-script ist parsed by php-cgi it is not
>> enough  to write AddOutputFilterByType in .htaccess
>> if i activated AddOutputFilterByType directly in httpd.conf it works.
>> with mod_php the entry in .htaccess is effectual
>> Andre
> I don't know why that would make a difference, but if you have access to
> the main httpd.conf file, you should never use .htaccess. It is less
> efficient than putting it in the main httpd.conf, has various 'gotchas'
> and slight differences in syntax that are easy to catch you out.

I think fastcgi makes it look like the directory being served is the
directory of the fastcgi wrapper, not the script.

Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message