I'm relatively new to mod_perl and have been fighting with a
relatively simple task: appending data to all text/html pages. So, for
instance, I want something like this returned to the client:
HTML
BODY
/BODY
/HTML
EXTRA SPECIAL MESSAGE
-
I've been
-Original Message-
From: Jim Sproull [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 11:00 AM
To: [EMAIL PROTECTED]
Subject: NEWBIE: appending to page content
I'm relatively new to mod_perl and have been fighting with a
relatively simple task: appending data to all
Thanks to Geoff Young for pointing me in the right direction towards
Apache::SimpleReplace. I have made my own stripped down version of this,
but still need guidance (Geoff, you're welcome to reply again if you can
help ;) Since I only want all text/html pages to be appended to, I want all
-Original Message-
From: Jim Sproull [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 1:53 PM
To: [EMAIL PROTECTED]
Subject: RE: NEWBIE: appending to page content
Thanks to Geoff Young for pointing me in the right direction towards
Apache::SimpleReplace. I have
-Original Message-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 2:03 PM
To: 'Jim Sproull'; [EMAIL PROTECTED]
Subject: RE: NEWBIE: appending to page content
sub handler {
my $r = shift;
$log = $r-server-log
-Original Message-
From: Jim Sproull [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 2:09 PM
To: Geoffrey Young
Cc: [EMAIL PROTECTED]
Subject: RE: NEWBIE: appending to page content
[snip]
Hi again Geoff. Thanks for the quick answer. I actually
tried adding
-Original Message-
From: Jim Sproull [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06, 2000 2:35 PM
To: Geoffrey Young
Subject: RE: NEWBIE: appending to page content
-Original Message-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 06