You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John Oliver <jo...@john-oliver.net> on 2009/03/03 19:57:01 UTC

[users@httpd] Apache authenticate against Drupal user database?

Is it possible for Apache to authenticate users against a database kept
by Drupal / PHP / MySQL?

I'm using proxy_ajp to handle requests for some applications hosted by
Tomcat.  The problem with that is, anyone can access them.  We'd like to
have any requests for https://server.host.name/application1 for example,
to be authenticated against this database.

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache authenticate against Drupal user database?

Posted by André Warnier <aw...@ice-sa.com>.
John Oliver wrote:
> Is it possible for Apache to authenticate users against a database kept
> by Drupal / PHP / MySQL?
> 
> I'm using proxy_ajp to handle requests for some applications hosted by
> Tomcat.  The problem with that is, anyone can access them.  We'd like to
> have any requests for https://server.host.name/application1 for example,
> to be authenticated against this database.
> 
I don't know about any module directly "out of the box" in Apache's 
module collection itself.  But it is certainly possible using an Apache/ 
mod_perl authentication module.
Look here for a first overview :
http://cpan.uwinnipeg.ca/search?query=apache+auth&mode=dist
You may want to have a closer look at, for instance, Apache2::AuthCookieDBI.
Here :
http://cpan.uwinnipeg.ca/htdocs/Apache2-AuthCookieDBI/Apache2/AuthCookieDBI.html


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] unsubscribe

Posted by Frank Gingras <fr...@gmail.com>.
Daniel,

Please pay attention to the footer of each email. It gives out specific 
instructions on how to unsubscribe from this list.

Frank

Daniel B. Davis wrote:
> unsubscribe
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] unsubscribe

Posted by "Daniel B. Davis" <db...@smart.net>.
unsubscribe

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Apache authenticate against Drupal user database?

Posted by Dan Poirier <po...@pobox.com>.
John Oliver <jo...@john-oliver.net> writes:

> Is it possible for Apache to authenticate users against a database kept
> by Drupal / PHP / MySQL?

See mod_authn_dbd.  (You'll have to know the schema of the table being
used by Drupal.)

-- 
Dan Poirier <po...@pobox.com>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org