On Wed, Apr 23, 2008 at 5:28 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 21, 2008 at 4:30 PM, J Amuse <[EMAIL PROTECTED]> wrote:
> >
> >
> > http://perl.apache.org/docs/2.0/user/coding/coding.html#Generating_HTTP_Response_Headers
> > <htt
On Wed, Apr 23, 2008 at 5:28 PM, Perrin Harkins <[EMAIL PROTECTED]> wrote:
> On Mon, Apr 21, 2008 at 4:30 PM, J Amuse <[EMAIL PROTECTED]> wrote:
>
>
> http://perl.apache.org/docs/2.0/user/coding/coding.html#Generating_HTTP_Response_Headers
> <http://perl.apa
I wrote a simple module that parses the HTTP response body and updates
certain text. I want the script to be able to parse and manipulate the HTTP
response headers as well. For example add secure and HttpOnly flags to
certain cookies, or add a redirection when a 500 error code is returned. The
code
I wrote a simple module that parses the HTTP response body and updates
certain text. I want the script to be able to parse and manipulate the HTTP
response headers as well. For example add secure and HttpOnly flags to
certain cookies, or add a redirection when a 500 error code is returned. The
code
I'm trying to write a filter using modperl that will update parts of the
server response on the fly. My first attempt was to rewrite the path setting
in the server's set cookie response to set the path to: path=/NewPath. After
copying and pasting some examples I came up with the following:
package