Jeff Crist wrote:
> Can someone send me an example of a test Perl script that will display
> which Perl handler Apache is using - Apache::Registry or PerlRun.
>
> We just migrated our website to a new server that was initially setup to
> run Appache::Registry but we don't have time to cleanup
Title: Message
Can someone send me
an example of a test Perl script that will display which Perl handler Apache is
using - Apache::Registry or PerlRun.
We just migrated our
website to a new server that was initially setup to run Appache::Registry but we
don't have time to cleanup the code
Gabriel C Millerd wrote:
> On Fri, 14 Jun 2002, Geoffrey Young wrote:
>
>
>>that's odd. the above code essentially acts as though the user entered
>>/not_ok_page.html in their browser all by themselves. maybe I
>>incorrectly assumed that's what you were looking for?
>>
>>
>well the prob
On Fri, 14 Jun 2002, Geoffrey Young wrote:
> that's odd. the above code essentially acts as though the user entered
> /not_ok_page.html in their browser all by themselves. maybe I
> incorrectly assumed that's what you were looking for?
>
well the problem with a onsite url is that the handler
Gabriel C Millerd wrote:
> On Thu, 13 Jun 2002, Geoffrey Young wrote:
>
>
>>sounds like a job for a PerlTransHandler...
>>
>> if ($not_ok) {
>> $r->uri('/not_ok_page.html');
>> return DECLINED;
>> }
>>
>>
>
> this works great until i run into an Alias or a mod_rewite rule it seem
On Thu, 13 Jun 2002, Geoffrey Young wrote:
>
> sounds like a job for a PerlTransHandler...
>
>if ($not_ok) {
> $r->uri('/not_ok_page.html');
> return DECLINED;
>}
>
this works great until i run into an Alias or a mod_rewite rule it seems.
what is the proper way to indicate succ
On Thu, 13 Jun 2002, Geoffrey Young wrote:
>
> sounds like a job for a PerlTransHandler...
>
thanks
>
> keep in mind that the PerlTransHandler cannot be applied to any
> (or any other container like ) so it will
> automatically apply to an entire (virtual) server.
>
that would have been my p
hing to move on like normal ...
> which handler method do i use for this.
sounds like a job for a PerlTransHandler...
if ($not_ok) {
$r->uri('/not_ok_page.html');
return DECLINED;
}
keep in mind that the PerlTransHandler cannot be applied to any
(or any ot
i want to make a apacher perlhandler method for (i think)
that will check and see if my system state is ok (like database, jabber,
and imap connectivity), and if not will redirect to another page.
if everything is kosher i would like everything to move on like normal ...
which handler method
> -Original Message-
> From: Jochen Schnapka [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 12:52 PM
> To: [EMAIL PROTECTED]
> Subject: Re: which Handler to adjust Response-Headers?
>
>
> On Thu, Apr 19, 2001 at 08:42:40AM -0400, Geoffrey Yo
On Thu, Apr 19, 2001 at 08:42:40AM -0400, Geoffrey Young wrote:
> > > $r->headers_out seems to be completly empty.
>
> I think $r->headers_out will be empty until you do something to put
> something in it (like $r->headers_out->add(), $r->no_cache(1), or
> $r->send_http_headers()). Depending on
> -Original Message-
> From: Jochen Schnapka [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 19, 2001 6:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: which Handler to adjust Response-Headers?
>
>
> Hi again. Once again, I found the solution by myself.
>
&
Hi again. Once again, I found the solution by myself.
On Wed, Apr 18, 2001 at 05:13:21PM +0200, Jochen Schnapka wrote:
> Hi.
>
> I wonder, which Handler I would have to invoke to mangle or adjust the
> response headers. I thought, this was the PerlFixupHandler. But
> $r->heade
On Wed, Apr 18, 2001 at 12:09:57PM -0700, Rob Bloodgood wrote:
> > I wonder, which Handler I would have to invoke to mangle or adjust the
> > response headers. I thought, this was the PerlFixupHandler. But
> > $r->headers_out seems to be completly empty.
>
> You can
Hi.
I wonder, which Handler I would have to invoke to mangle or adjust the
response headers. I thought, this was the PerlFixupHandler. But
$r->headers_out seems to be completly empty.
This is my handler:
use strict;
use Apache::Constants;
use Apache::Table;
sub handler {
my $r = sh
On Wed, 5 Apr 2000, J. Horner wrote:
> I'm finally writing the web server intrusion system that I've planned for
> months. I have the skeleton for the URI comparing handler, but I'm a
> little unclear where it should really go.
>
> A handler is written to compare the URI against a source of kno
"J. Horner" wrote:
> "It is called once per transaction and is intended to allow modules to
> step in and perform special processing on the incoming data", which is
> what I want, but it goes on to say, "However, because there's no way for
> modules to step in and actually contribute to the parsin
I'm finally writing the web server intrusion system that I've planned for
months. I have the skeleton for the URI comparing handler, but I'm a
little unclear where it should really go.
A handler is written to compare the URI against a source of known web
server issues to alert the administrator
18 matches
Mail list logo