Re: Verifying Which Handler

2002-08-08 Thread Stas Bekman
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

Verifying Which Handler

2002-08-08 Thread Jeff Crist
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

Re: which handler?

2002-06-14 Thread Geoffrey Young
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

Re: which handler?

2002-06-14 Thread Gabriel C Millerd
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

Re: which handler?

2002-06-14 Thread Geoffrey Young
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

Re: which handler?

2002-06-13 Thread Gabriel C Millerd
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

Re: which handler?

2002-06-13 Thread Gabriel C Millerd
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

Re: which handler?

2002-06-13 Thread Geoffrey Young
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

which handler?

2002-06-13 Thread Gabriel C Millerd
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

RE: which Handler to adjust Response-Headers?

2001-04-19 Thread Geoffrey Young
> -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

Re: which Handler to adjust Response-Headers?

2001-04-19 Thread Jochen Schnapka
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

RE: which Handler to adjust Response-Headers?

2001-04-19 Thread Geoffrey Young
> -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. > &

Re: which Handler to adjust Response-Headers?

2001-04-19 Thread Jochen Schnapka
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

Re: which Handler to adjust Response-Headers?

2001-04-19 Thread Jochen Schnapka
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

which Handler to adjust Response-Headers?

2001-04-18 Thread Jochen Schnapka
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

Re: which handler?!?

2000-04-11 Thread Doug MacEachern
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

Re: which handler?!?

2000-04-08 Thread Kevin Murphy
"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

which handler?!?

2000-04-05 Thread J. Horner
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