hello, all

I have written a mod_perl module that generates a stats, url encoded img
tag and appends it  to the bottom of static files and cgi scripts. For
the cgis I am simply initiating a subrequest via lookup_uri and
switching the handler stack to cgi-script before I call the run()
function which should output the headers and contents of the  request
out to the client (eagle book pg 468).

run(), however, does not output the appropriate http headers. the
function only outputs the content body. this is a major problem for
clients like netscape (IE is actually unaffected) that require
approriate Content-type headers before rendering an html page. Moreover,
cgis that attempt to do redirects via the HTTP Location header would
break if the run() function was called on such a script.

Not sure if this is a bug or a feature:) nonetheless, I was wondering if
someone could direct me to the source for the run() function both perl
and C so that I could customize it for our needs.

thanx for the help,
-amen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to