[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Having some difficulties in creating an AccessHandler.....what part am I missing?
From:       Graham TerMarsch <gtermars () home ! com>
Date:       1998-08-09 17:27:51
[Download RAW message or body]

Been sitting here trying to create a new AccessHandler module, and am finding
that I'm having difficulty in making sure that it's actually given all the
information it needs.  What I'd really like to do at this point is just have
it determine the access for files within an authenticated realm, BUT leave the
authentication up to Apache to take care of (it's already got everything in
there, why reinvent it).

But, the problem that I'm having is that when the AccessHandler starts up, the
$r->connection->user result is always empty, even if it is within the
authenticated realm.  I'd searched for something out there which took care of
Basic authentication but couldn't find anything within the Apache:: modules
(is there somewhere else I should be looking?).

Out of curiousity, I downloaded Apache::AuthAnon and installed that to see if
I could get it to work then, but ran into a few other little hitches.  If I've
got it set up so that AuthAnon is an AuthenHandler, and my new module is an
AccessHandler, I still don't get any of the user information (username).  BUT,
if I set it up so that I have both AuthAnon and my module as chained
AuthenHandlers, it does get the user information.

Am I completely missing the boat on something here?

-- 
Graham TerMarsch

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic