Hi --
I am a new user of MP2. Pardon my basic questions.
Here's my situation:
My Apache generates 4 sets of logs.
Three of them are generated by Apache directly:
access, error, and a custom log tracking access for
certain file types.
The fourth is made by a MP2 handler dealing with
redirects
I missed the reference to Recipe 3.13.
That was right on target.
Thanks.
I am interpreting that recipe to mean
"when setting the HTTP header fields for a redirect,
always use err_headers_out, except when setting
location, which is a special case, and may use
headers_out".
Holler if I am off base
importantly, why? I am interesting in
learning the difference between the two method calls.
As I still don't understand why in all the examples
given the Location param goes in a header_out, while
everything else goes in a err_header_out.
Many thanks
TO
--- Ged Haywood <[EMAIL PROTECTED
[1] When should one use err_headers_out and when
should one use headers_out? I know when redirecting
the former is used for Set-Cookie and the later is
used for Location (Practical Mod Perl p. 756), but
what about cache control, p3p, etc? (code fragment
below)
[2] Also, what is the difference be
Hi --
Not sure if this a mod_perl problem or not, but I seek
any advice to how I might be able to avoid to solve it
using mod_perl.
On my site http://www.aaa.com I have a link to
https://www.bbb.com/redirect.
/redirect is handled by Redirect.pm, a mod_perl 2
module which sets a cookie and redire
Many thanks Hari.
Turns I was having an "acme.com" vs. "www.acme.com"
cookie descrepancy, and I didn't notice the obvious
until you reminded me.
I am glad it wasn't a mod_perl or apache oddity!
Curious: does scheme matter? That is,
can a cookie set by http://acme.com be read by
https://acme.c
Hi -- I have a site which mananges photos for
visitors. I log cookies to a log file using the
recipe from
http://perl.apache.org/docs/2.0/user/handlers/http.html#PerlLogHandler.
Here's the code
package CookLog;
use strict;
use warnings;
use Fcntl qw(:flock);
sub handler {
my $r = shift;
Hi --
Apologies for some very basic questions about logs.
I am a newbie, running Apache 2 and ModPerl 2 on a
RedHat Linux box. Pointers to relevant docs or
postings bery much appreciated. Seeking advice &
opinions.
[1] What are my options for rolling Apache logs?
Is there a preferred Apache tool