<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7233.69">
<TITLE>How to access response data from script</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Can I have a script execute on output match such as in the line below?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">SecFilterSelective&nbsp; OUTPUT&nbsp; &quot;my search phrase&quot; log,exec:myscript.pl</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Mod_security and my script will be running on a reverse proxy.&nbsp; I want myscript.pl to validate the response data before sending the response on to the client browser.&nbsp; How would myscript.pl access the response data?&nbsp; CGI.pm seems only good for requests.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Browser&nbsp; &lt;---------&nbsp; reverse proxy &lt;------ server</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mod-security</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; myscript.pl</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">James Kratzer</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;</FONT>
</P>

</BODY>
</HTML>