Stas Bekman wrote:
> Tim Noll wrote:
> > Is there a proper way to call a method handler using either
push_handlers or
> > set_handlers? They both appear to call all handler refs just like normal
> > subs, with no class name passed in. It appears that enclosing the
handler in
Tim Noll wrote:
> > As an alternative, I have used a PerlFixupHandler that detects a MIME
> > type of text/html and for only those enables Mason leaving the rest
> > alone. This lets autoindexing still work properly, as well as images
> > and other content in the same di
Tim Noll wrote:
> I know this is a pretty generic question, but if nobody knows a quick
> answer, I can get more specific in a later post. Under Apache 1.3.22 /
> mod_perl 1.26, even while using $SIG{__WARN__} = \&Carp::cluck, I keep
> getting "Use of uninitialized value.&quo
Stas Bekman wrote:
> > I know this is a pretty generic question, but if nobody knows a quick
> > answer, I can get more specific in a later post. Under Apache 1.3.22 /
> > mod_perl 1.26, even while using $SIG{__WARN__} = \&Carp::cluck, I keep
> > getting "Use of uninitialized value." in the Apache
Is there a proper way to call a method handler using either push_handlers or
set_handlers? They both appear to call all handler refs just like normal
subs, with no class name passed in. It appears that enclosing the handler in
an anonymous sub is a workaround, but I was wondering if there was a be
I know this is a pretty generic question, but if nobody knows a quick
answer, I can get more specific in a later post. Under Apache 1.3.22 /
mod_perl 1.26, even while using $SIG{__WARN__} = \&Carp::cluck, I keep
getting "Use of uninitialized value." in the Apache error log, with
absolutely no line
From: "Lyle Brooks" <[EMAIL PROTECTED]>
To: "Tim Noll" <[EMAIL PROTECTED]>
Cc: "Lyle Brooks" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, February 05, 2002 5:54 PM
Subject: Re: image corruption
>
> Ok, a couple of things
Whoops, I hacked up my example a little to make it easier it to read,
and I accidentally removed the line:
$file =~ s{^/}{};
But, it was in the original. Really. :-)
-Tim
- Original Message -
From: "Lyle Brooks" <[EMAIL PROTECTED]>
To: "Tim Noll" <[
I'm attempting to use mod_perl and Template Toolkit to serve up
templates. However, I'm having a problem with the images in those
templates: They're passing through the content handler, and thus getting
corrupted.
My first thought was to return DECLINED from the content handler if the
request is
. In no case have I seen a
straightforward solution. Is there some reason why this isn't easier to
handle if indeed it's such a common problem?
-Tim
- Original Message -
From: "Stas Bekman" <[EMAIL PROTECTED]>
To: "Tim Noll" <[EMAIL PROTECTED]>
I'm using mod_perl + Template Toolkit, and I'm having trouble getting Apache
to pass the DirectoryIndex to my handler. The handler is supposed to take
the path_info and pull a template of the same name from a subdirectory
called 'html'.
This works fine for file names which do exist in the subdire
11 matches
Mail list logo