httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sheryl" <gubyd...@his.com>
Subject Re: [users@httpd] Apache2, MySQL and mod_dbd
Date Thu, 04 Nov 2010 23:16:39 GMT
Niklas wrote:

> I want to use Apache2's built in functionality to authenticate and
> authorize user for accessing certain pages, mod_dbd. I want to store the
> users in MySQL.
>
> How should I set up this? I have tried a lot of things and it seems to be
> really hard getting it to work. As I understand, there is no support for
> this by default in Apache but I have to compile Apache in order to
> "include" the mysql driver. Today I get the "Invalid command 'DBDriver'"
> when starting httpd. 

I have done this fairly recently.  Rather than go through it all here,
I'll refer you to http://www.apachefriends.org/f/viewtopic.php?p=93012
which I think is the article I found with google to figure out how to get
things working.

Essentially you need to install a third-party module to take care of the
logins.  There are a couple of them out there, none of them updated for
apache 2.2.x, but mysql-3.0.0 is close and a patch is available from
another source which will bring it the rest of the way.

Good luck,

Sheryl

> I am using
> OSX 10.6.4 (I guess one can solve it as you would do in linux)
> Apache 2.2.17
> MySQL 5.1
>
> I really need to solve this and hope someone knows how to do this!
>
> Thanks in advance!
>
> Regards,
> Niklas
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message