[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mp2] Perl Auth Handlers and mod_proxy : losing querystring on remote server (BUG?)


Sylvain Perrot wrote:
> Hi,
> 
> This is working !!!
> Good point... But how to handle the authentication as I wanted (no http
> authentication but my own authentication module ...)

you can always use your own authentication module, but you need to be
sure to follow the proper steps.  what those are depend on what you're
trying to do...

if you're trying to do user-based authentication but not Basic
authentication then you need to follow the same set of rules rules, such
as setting $r->auth_type(), etc - you can't setup a
PerlAuthenHandler/Require and just expect that everything works without
calling the underlying API that httpd is expecting.  with a
PerlAccessHandler, on the other hand, you can do just that.

a good read on this is all of

  http://www.modperlcookbook.org/chapters/ch13.pdf

but particularly recipe 13.7.

HTH

--Geoff


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.