Re: [users@httpd] Can a new directive RemoveOutputFilterByType be added?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/16/06, Wang, Sherwin X. <Sherwin.Wang@xxxxxx> wrote:
>
>
> I am using mod_deflate to compress output contents. I'd tried to compress
> everything except PDF etc. using SetOutputFilter. But the configuration
> based on file extension in URI, SetEnvIfNoCase, will not work because the
> PDF is generated dynamically with URL
> http://foo.com/getReport?type=pdf. I had also tried not to
> compress anything but the specified MIME types using AddOutputFilterByType.
> But a tedious list of types has to be maintained. Is there any way to do it
> better?
>
> Combining merits of above two methods suggest a solution. Use
> SetOutputFilter to compress everything, use SetEnvIfNoCase to exclude gif
> etc., and use "RemoveOutputFilterByType", an opposite operation of
> AddOutputFilterByType, to exclude PDF. Can a new directive
> RemoveOutputFilterByType be added to Apache?

You might want to look into mod_filter in apache 2.2 which can do all
sorts of flexible stuff.

Joshua.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux