Jason Morehouse wrote:
Hello,
We make use of mod_deflate on all of our sites. But there is a
particular page we need it disabled, as we need to utilize output
buffering with PHP. Is it possible to disable mod_deflate per
directory, or even site?
We are using apache 2.2.
If you added the DEFLATE filter using AddOutputFilter, you can remove it
using RemoveOutputFilter.
You can do this for a single file by nesting <Files> within <Directory>.
For example, this compresses all .php responses except for the response
from nocompress.php:
<Directory /var/www/myapp >
AddOutputFilter DEFLATE .txt .php .htm .html .cfm .xml .css .js
<Files nocompress.php>
RemoveOutputFilter .php
</Files>
</Directory>
-tom-
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]