<!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 OUTPUT "my search phrase" log,exec:myscript.pl</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Mod_security and my script will be running on a reverse proxy. I want myscript.pl to validate the response data before sending the response on to the client browser. How would myscript.pl access the response data? CGI.pm seems only good for requests.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Browser <--------- reverse proxy <------ server</FONT>
<BR><FONT SIZE=2 FACE="Arial"> mod-security</FONT>
<BR><FONT SIZE=2 FACE="Arial"> 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"> </FONT>
</P>
</BODY>
</HTML>