Am Mittwoch, 16. Mai 2007 16:39 schrieb Joel Bernstein:
> On Wed, May 16, 2007 at 03:28:17PM +0200, Moritz Maisel wrote:
> > Running Debian:
> > libapache2-mod-perl21.999.21-1
> > Integration of perl with the Apache2 web server
>
> So you're running an alpha
On Wed, May 16, 2007 at 03:28:17PM +0200, Moritz Maisel wrote:
> Running Debian:
> libapache2-mod-perl21.999.21-1
> Integration of perl with the Apache2 web server
So you're running an alpha release of mod_perl 2, with 21 levels of
backported patches? Try up
2007/5/15, Adam Prime x443 <[EMAIL PROTECTED]>:
use Apache::RequestRec;
?
I use "Apache::RequestRec" to have access to the object method "user" in the
line:
my $user = $r->user;
What version of mod_perl are you running? The above line makes me thing
you're running an reall old version of m
al Message-
From: Moritz Maisel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 15, 2007 10:46 AM
To: modperl@perl.apache.org
Subject: apache2 does not deny acces though PerlAuthenHandler returns
HTTP_UNAUTHORIZED
Hi List,
I wrote a PerlAuthenHandler to authenticate users that access a
web
Michael Peters wrote:
> Moritz Maisel wrote:
>
>>Hi List,
>>
>>I wrote a PerlAuthenHandler to authenticate users that access a
>>webservice. I supposed that by returning either "OK" or
>>"HTTP_UNAUTHORIZED" back to apache2 it will allow or deny acces due to
>>the "require valid-user" directive tha
2007/5/15, Michael Peters <[EMAIL PROTECTED]>:
The HTTP codes are HTTP return codes, not handler return codes. Use
FORBIDDEN
instead.
I already tried (and now tried again) to use "return FORBIDDEN" instead of
"return HTTP_UNAUTHORIZED" without success.
:-(
Moritz Maisel wrote:
> Hi List,
>
> I wrote a PerlAuthenHandler to authenticate users that access a
> webservice. I supposed that by returning either "OK" or
> "HTTP_UNAUTHORIZED" back to apache2 it will allow or deny acces due to
> the "require valid-user" directive that I set.
> My problem is, t
Hi List,
I wrote a PerlAuthenHandler to authenticate users that access a webservice.
I supposed that by returning either "OK" or "HTTP_UNAUTHORIZED" back to
apache2 it will allow or deny acces due to the "require valid-user"
directive that I set.
My problem is, that apache executes my handler, bu