× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Alan,
I think if you run the STRTCPSVR cmd for any instance using option -l you'll find that mod_ext_filter is not one of the modules in the list.

The only way I could see to gain control over the output filter process was to write my own Apache filter module, an arcane process, and something of a black art from my perspective.
To achieve this you probably need to understand how Apache requires a data export from your module also about registering hooks for Apache.
The thing gets implemented by adding an Apache directive like
LoadModule mytest_module /QSYS.LIB/MYTEST.LIB/MYFILTER01.SRVPGM
And SetOutputFilter MYFILTER to the relevant Directory container

Cheers, Peter



-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Alan Seiden
Sent: Saturday, 24 December 2011 7:15 a.m.
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] mod_ext_filter module for Apache?

Jack, right. The ExtFilterDefine directive is not accepted. What I don't
know is whether I need to use a specific LoadModule directive, or if the
module isn't supplied.

On 12/23/2011 8:38 AM, Jack Kingsley wrote:

If you add it, does it throw/error it out in your log file after you recycle the server instance.

On Thu, Dec 22, 2011 at 8:31 PM, Peter Connell [1]<Peter.Connell@xxxxxxxxxx>wrote:


Hmm,
I recall having to write one in C a while back but it never got to be used in production.

-----Original Message-----
From: [2]web400-bounces@xxxxxxxxxxxx [[3]mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Alan Seiden
Sent: Friday, 23 December 2011 12:00 p.m.
To: [4]web400@xxxxxxxxxxxx
Subject: [WEB400] mod_ext_filter module for Apache?

Anyone know if the IBM i implementation of Apache HTTP Server includes the
module "mod_ext_filter" (or equivalent) ? It's sometimes hard to find
Apache modules because they have different names on IBM i.

[1][5]http://httpd.apache.org/docs/2.0/mod/mod_ext_filter.html

The mod_ext_filter module allows admins to define an external output
filter for HTTP content. We already have a DEFLATE filter that compresses
output, but mod_ext_filter would allow custom filters (any external
program) to be defined using the SetOutputFilter and ExtFilterDefine
directives. For example, I could tell Apache to post-process any web
server output through a PHP or Perl script, or Tidy to clean up the HTML,
etc.

Thanks!

Alan
--
Alan Seiden, PHP for IBM i Consultant and Developer
Zend Certified Engineer for Zend Framework
Strategic Business Systems, Inc.
phone: 201-327-8746 x144
[2][6]http://www.alanseiden.com | [[7]3]alan@xxxxxxxxxxxxxx



References

Visible links
1. [8]http://httpd.apache.org/docs/2.0/mod/mod_ext_filter.html
2. [9]http://www.alanseiden.com/
3. [10]mailto:alan@xxxxxxxxxxxxxx
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: [11]WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: [12]http://lists.midrange.com/mailman/listinfo/web400
or email: [13]WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at [14]http://archive.midrange.com/web400.


#####################################################################################

This correspondence is for the named person's use only. It may contain confidential or legally privileged information, or both. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this correspondence in error, please immediately delete it from your system and notify the sender. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient.
Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Veda.
If you need assistance, please contact Veda on either :- Australia 1300-762-207 or New Zealand +64 9 367 6200
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: [15]WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: [16]http://lists.midrange.com/mailman/listinfo/web400
or email: [17]WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at [18]http://archive.midrange.com/web400.

References

Visible links
1. mailto:Peter.Connell@xxxxxxxxxx
2. mailto:web400-bounces@xxxxxxxxxxxx
3. mailto:web400-bounces@xxxxxxxxxxxx
4. mailto:web400@xxxxxxxxxxxx
5. http://httpd.apache.org/docs/2.0/mod/mod_ext_filter.html
6. http://www.alanseiden.com/
7. mailto:3]alan@xxxxxxxxxxxxxx
8. http://httpd.apache.org/docs/2.0/mod/mod_ext_filter.html
9. http://www.alanseiden.com/
10. mailto:alan@xxxxxxxxxxxxxx
11. mailto:WEB400@xxxxxxxxxxxx
12. http://lists.midrange.com/mailman/listinfo/web400
13. mailto:WEB400-request@xxxxxxxxxxxx
14. http://archive.midrange.com/web400
15. mailto:WEB400@xxxxxxxxxxxx
16. http://lists.midrange.com/mailman/listinfo/web400
17. mailto:WEB400-request@xxxxxxxxxxxx
18. http://archive.midrange.com/web400
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.

#####################################################################################

This correspondence is for the named person's use only. It may contain confidential
or legally privileged information, or both. No confidentiality or privilege is waived
or lost by any mistransmission. If you receive this correspondence in error, please
immediately delete it from your system and notify the sender. You must not disclose,
copy or rely on any part of this correspondence if you are not the intended recipient.
Any views expressed in this message are those of the individual sender, except where
the sender expressly, and with authority, states them to be the views of Veda.
If you need assistance, please contact Veda on either :-
Australia 1300-762-207 or New Zealand +64 9 367 6200

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.