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
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 the
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 seems.
that's odd. the
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 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
i want to make a apacher perlhandler method for location / (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
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
Location (or any other container like Directory
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
Location (or any other container like Directory) so it will
automatically apply to an entire (virtual) server.
that would have
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 success
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 do this at any phase of the request
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-headers_out seems
-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.
On Wed, Apr 18, 2001 at 05:13:21PM
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 which
-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 Young wrote:
$r-headers_out seems
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 = shift
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 known
16 matches
Mail list logo