Stacking ErrorDocuments OR multilevel PerlAccessHandler

2002-11-13 Thread Brett Sanger
Once upon a time there was a project that required a PerlAccessHandler and form-based login. This project lived in the land of mod_perl, so it lived a happy life, with a setup something like: PerlHandler Apache::Registry SetHandler perl-script Options +ExecCGI PerlAccessHandler My

Re: PerlAccessHandler

2002-07-29 Thread Robert Landrum
On Fri, Jul 26, 2002 at 04:11:29PM -0700, Rasoul Hajikhani wrote: > Folks, > My PerlAccessHandler is being executed twice per each request. Is this a > normal behavior for an access handler? > Here is my .conf entry > > SetHandler perl-script > # ru

Re: mod_perl PerlAccessHandler/PerlAuthenHandler question

2002-07-28 Thread Steve Piner
; try to step in to other stages like Authentication, and have trouble in > setting > PerlAccessHandler > PerlAuthenHandler > etc. > > If I put > ###== > > SetHandler perl-script > PerlHandler Apache::Hello > > > ###=

mod_perl PerlAccessHandler/PerlAuthenHandler question

2002-07-26 Thread Harry Zhu
I'm a verteran CGIer but a new mod-perl user. I have got the mod-perl running fine for the content handling. But when I try to step in to other stages like Authentication, and have trouble in setting PerlAccessHandler PerlAuthenHandler etc. If I put ###== SetHandler

PerlAccessHandler

2002-07-26 Thread Rasoul Hajikhani
Folks, My PerlAccessHandler is being executed twice per each request. Is this a normal behavior for an access handler? Here is my .conf entry SetHandler perl-script # run is a wrapper for my handler # all common methods which many of my handlers # use are

PerlAccessHandler and LimitExcept question.

2001-12-18 Thread Joe Pearson
When I put a PerlAccessHandler inside a LimitExcept, it does not seem to work within the LimitExcept. It behaves as if there was no LimitExcept. For instance, I wrote a simple access handler for webdav that only allows users into their own directories. So user "joe" can only get to

Re: PerlAccessHandler -- struggling and drowning

2001-05-03 Thread David Kenzik
will trillich said... > problem: some browsers see 'redirect' and ignore all other > headers, so the cookies aren't set. when the browser arrives at > the login area, there's no cookie to send there, to formulate > a return-to address from. What percentage of 'some browsers' is your user b

RE: PerlAccessHandler via set_handlers()?

2001-05-03 Thread Chris Strom
> -Original Message- > From: will trillich [mailto:[EMAIL PROTECTED]] > > thanks one and all for the pointers on cookies. i probably grok > 738% more than i did, but i have a feeling it's still only 13% of > the pie. or in this case, cookie... > > so how&

PerlAccessHandler via set_handlers()?

2001-05-02 Thread will trillich
thanks one and all for the pointers on cookies. i probably grok 738% more than i did, but i have a feeling it's still only 13% of the pie. or in this case, cookie... so how's this PerlAccessHandler, for twisted logic? hole-punching and pitfall-warning equally welcome: #

RE: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread Geoffrey Young
> -Original Message- > From: will trillich [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 01, 2001 3:38 PM > To: [EMAIL PROTECTED] > Subject: Re: PerlAccessHandler -- struggling and drowning > > > > now when lynx or netscape (but not konqueror) get valida

Re: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread darren chamberlain
will trillich ([EMAIL PROTECTED]) said something to this effect on 05/01/2001: > now when lynx or netscape (but not konqueror) get validated, and > the server tries to redirect the browser back to the original > URL, the browsers seem to have cached the /login page as if it > were the /protected p

Re: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread will trillich
On Tue, May 01, 2001 at 01:39:13PM -0500, will trillich wrote: > On Tue, May 01, 2001 at 01:58:56PM -0400, Chris Strom wrote: > > Even during a redirect. The following works for me (in a PerlInitHandler > > NOT a PerlAccessHandler) with lynx (2.7) just fine. > > > >

Re: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread will trillich
On Tue, May 01, 2001 at 02:49:05PM -0400, Chris Strom wrote: > > http://www.no-way-in-hell-bubba.com/login/";> > > should be: > > http://www.no-way-in-hell-bubba.com/login/";> tolja my understanding was questionable. that helped that part, at least... much thanks! so now i feel like i've g

RE: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread Chris Strom
> http://www.no-way-in-hell-bubba.com/login/";> should be: http://www.no-way-in-hell-bubba.com/login/";>

Re: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread will trillich
> > > > even DURING a redirect? i seem to have hit a chord here, as > > i'm getting lots of "me too" in my mailbox. > > Even during a redirect. The following works for me (in a PerlInitHandler > NOT a PerlAccessHandler) with lynx (2.7) just fine. >

RE: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread Chris Strom
> > > -Original Message- > > > From: will trillich [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, April 30, 2001 9:44 PM > > > To: [EMAIL PROTECTED] > > > Subject: PerlAccessHandler -- struggling and drowning > > > > this is

Re: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread will trillich
Chris Strom wrote: > > > -Original Message- > > From: will trillich [mailto:[EMAIL PROTECTED]] > > Sent: Monday, April 30, 2001 9:44 PM > > To: [EMAIL PROTECTED] > > Subject: PerlAccessHandler -- struggling and drowning > > this is a PerlAc

RE: PerlAccessHandler -- struggling and drowning

2001-05-01 Thread Chris Strom
> -Original Message- > From: will trillich [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 30, 2001 9:44 PM > To: [EMAIL PROTECTED] > Subject: PerlAccessHandler -- struggling and drowning > > > Eeyore here, again, less happy than ever. S.O.S. > > oka

PerlAccessHandler -- struggling and drowning

2001-04-30 Thread will trillich
is a PerlAccessHandler, which should check for the existence of a cookie in the incoming headers, and if not there (or expired) it should redirect the browser to a login area that takes name/password pair, and if valid, would then return the browser to the original URL. to do that, as we issu

Re: PerlAccessHandler causes '500 Server Error' on 'return OK'

2001-04-05 Thread Jochen Schnapka
the Perl module > returns 'OK'. The same is with 'DECLINED'. > FORBIDDEN works well, AUTH_REQUIRED works also (though it doesn't make > sense in the access control stage). > I do not see anything in my error_log. > The problem seems to be specific to the PerlAcc

PerlAccessHandler causes '500 Server Error' on 'return OK'

2001-03-30 Thread Jochen Schnapka
ke sense in the access control stage). I do not see anything in my error_log. The problem seems to be specific to the PerlAccessHandler Other Handlers (e.g.the PerlAuthenHandler) work fine: when returning OK, the page is displayed. Any ideas? Info: apache-1.3.19, mod_perl-1.25, perl5.005

RE: PerlAccessHandler Question...

2001-01-09 Thread Joseph Crotty
Good advice Ged. I figured out the problem...there was another server running on the port almost exactly like the one I was using, but without the PerlAccessHandler. Huge brain fart. I need a nap. -Original Message- From: G.W. Haywood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January

Re: PerlAccessHandler Question...

2001-01-09 Thread G.W. Haywood
Hi there, On Tue, 9 Jan 2001, Joseph Crotty wrote: > > open(FILE, ">/tmp/dog"); Always check the status returned by a call like open(). 73, Ged.

RE: PerlAccessHandler Question...

2001-01-09 Thread Chris Strom
> > #Location Handlers > > > > PerlAccessHandler Apache::GateKeeper > > > > The Location directive needs to specify a URL to which it applies: Perl*Handlers can go pretty much anywhere, as long as the server administrator hasn't diabled .h

PerlAccessHandler Question...

2001-01-09 Thread Joseph Crotty
> hey all, > > I am a mod_perl newbie and have done some reading in the Eagle book. I > installed my first handler today(i.e. a PerlAccessHandler), but it does > not seem to work(boy, that sounds flaky). I am unsure after extensive > reading if the PerlAccessHandler "mu

Re: (possible bug) PerlAccessHandler called twice?

2000-09-29 Thread Doug MacEachern
On Thu, 28 Sep 2000, Adi wrote: > As it turns out, the second call to My::ProxyAccessOnly is an internal > redirect ... > Is there a logical reason why PerlAccessHandler should be called twice, the because internal_redirects are implemented with subrequests and subrequests run a

(possible bug) PerlAccessHandler called twice?

2000-09-28 Thread Adi
cause PerlPostReadRequestHandler runs before PerlAccessHandler, so $r->remote_addr has already been changed to the client's IP. So, I wrote my own PerlAccessHandler that reads $r->notes to see if the request came from the proxy: sub My::ProxyAccessOnly { my $r = shift; my $from_p

Re: Problems parsing PerlAccessHandler directive...

1999-12-13 Thread Doug MacEachern
On Fri, 5 Nov 1999, Einar Johnsson wrote: > Hello. > I just compiled mod_perl-1.21 with: perl Makefile.PL EVERYTHING=1 > > When I try to use the PerlAccessHandler directive in my httpd.conf > I get: > Invalid command 'PerlAccessHandler', perhaps mis-spelled or

RE: Problems parsing PerlAccessHandler directive...

1999-01-03 Thread Miguel Navarro
I'm experiencing the same problem and looking for help. Miguel Navarro [EMAIL PROTECTED] -- From: Einar Johnsson Sent: Friday, November 05, 1999 6:51 AM To: [EMAIL PROTECTED] Subject: Problems parsing PerlAccessHandler directive... Hello. I just compiled mod_perl-1.21 with:

Problems parsing PerlAccessHandler directive...

1999-01-03 Thread Einar Johnsson
Hello. I just compiled mod_perl-1.21 with: perl Makefile.PL EVERYTHING=1 When I try to use the PerlAccessHandler directive in my httpd.conf I get: Invalid command 'PerlAccessHandler', perhaps mis-spelled or defined by a module not included in the server configuration When the M