perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Davis <sdav...@mail.nih.gov>
Subject Re: P3P XML inclusion
Date Fri, 10 Jun 2005 14:03:41 GMT

On Jun 10, 2005, at 9:50 AM, Frank Wiles wrote:

> On Fri, 10 Jun 2005 08:20:10 -0400
> Sean Davis <sdavis2@mail.nih.gov> wrote:
>
>>
>> On Jun 10, 2005, at 8:07 AM, Sean Davis wrote:
>>
>>> I have a P3P XML file that I want to include in the META section of
>>> all HTML generated from certain locations.  Unfortunately, this is a
>>>
>>> recently changed policy and I obviously do not want to go back to
>>> change all relevant HTML and dynamically generated code.  Is there a
>>>
>>> way to do this after-the-fact:  Generate HTML as normal and then
>>> modify it just before being sent to the user browser?
>>>
>>
>> I forgot to mention--apache 1.3 with mod_perl.
>
>   If you're using handlers and not registry scripts you can use
>   stacked handlers.  With this you would have another module called
>   after your existing code that could regex the HTML output afterward,
>   prior to it being sent to the browser.
>
>   See this page for more information:
>
>   http://perl.apache.org/docs/1.0/guide/config.html#Stacked_Handlers
>

I think that will do it.  Thanks.

Sean


Mime
View raw message