httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
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<tevans.uk@googlemail.com> 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
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message