httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Davies" <...@stickyeyes.com>
Subject RE: [users@httpd] AddOutputFilterByType
Date Mon, 02 Jun 2008 15:50:57 GMT
Sorry, I should have been more explicit: 

How would you implement AddOutputFilterByType for filters created with
ExtFilterDefine? 

Example:

I have a flac file. I have a custom filter that converts flac files to mp3
files. If the request contains the header Accept: audio/mp3, how can I
ensure that my custom filter will run?

I had a look at the directives for mod_filter and the closest match appears
to be FilterProvider, but the second argument requires that I specify a
regular filter.

Cheers!

Ben


Ben Davies | Lead Developer | Stickyeyes
6th Floor, 
West One, 
Wellington Street, 
Leeds, LS1 1BA 
Email: ben.davies@stickyeyes.com
0113 391 2929 | Fax 0113 391 2939

This e-mail may contain information that is privileged, confidential or
otherwise protected from disclosure. It must not be used by, or its contents
copied or disclosed to persons other than the intended recipient. Any
liability (in negligence or otherwise) arising from any third party acting,
or refraining from acting, on any information contained in this e-mail is
excluded. The views expressed may not be official company policy, but
instead, the personal views of the originator. If you have received this
e-mail in error please notify the sender and delete the e-mail.


-----Original Message-----
From: jslive@gmail.com [mailto:jslive@gmail.com] On Behalf Of Joshua Slive
Sent: 02 June 2008 15:42
To: users@httpd.apache.org
Subject: Re: [users@httpd] AddOutputFilterByType

On Mon, Jun 2, 2008 at 10:31 AM, Ben Davies <ben@stickyeyes.com> wrote:
> Hi Everybody!
>
>
>
> I've noticed that the directive AddOutputFilterByType has been deprecated
in
> Apache 2.1 and later. Does anyone have a suggestion (or a link) on how one
> would be able to configure Apache to accomplish the same task without
using
> AddOutputFilterByType on Apache2.2?

See mod_filter.

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


---------------------------------------------------------------------
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