Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread Ben Johnson
On 11/19/2012 6:07 PM, David Mehler wrote: > Hello, > > Thanks to everyone who helped. I have it working. Here it is for > anyone this might help. > > Hth > Dave. > > Set up for Mysql authentication: > > Create a mysql database: > create database web; > grant select, insert, update, delete on

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread David Mehler
Hello, Thanks to everyone who helped. I have it working. Here it is for anyone this might help. Hth Dave. Set up for Mysql authentication: Create a mysql database: create database web; grant select, insert, update, delete on web.* to web_user@localhost identified by 'xxx'; flush privileges; use

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread FINESEC
Hello, Apache doesn't support password hashes generated by mysql. Use htpasswd or openssl to generate hashes that are supported by apache: htpasswd -nbm username password openssl passwd -apr1 password Adam Black, FINESEC.COM - authentication software for Apache On Mon, Nov 19, 2012 at 4:10 PM,

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread Igor Galić
- Original Message - > Hello, > > When I inserted the user in to the mysql database I have a field > called password it's a varchar(64) field. For the password value I > used mysql's sha function so the entry looked like: > > sha('password') > > won the insert line. > > I'm not sure i

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread David Mehler
Hello, When I inserted the user in to the mysql database I have a field called password it's a varchar(64) field. For the password value I used mysql's sha function so the entry looked like: sha('password') won the insert line. I'm not sure if that answers your question. Thanks. Dave. On 11/

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-19 Thread Igor Galić
- Original Message - > Hello, > > I am still trying to get my apache to authenticate against a mysql > database. I've looked at my available options and it looked like > mod_auth_mysql was discontinued so that was a non-starter. My other > option was mod_dbd with the apr-util-mysql drive

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-18 Thread David Mehler
Hello, I am still trying to get my apache to authenticate against a mysql database. I've looked at my available options and it looked like mod_auth_mysql was discontinued so that was a non-starter. My other option was mod_dbd with the apr-util-mysql driver, well that one also didn't work, I kept g

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-18 Thread David Mehler
Hello, Do you have this working? If so can I get a look at your config? Thanks. Dave. On 11/18/12, Igor Galić wrote: > > > - Original Message - >> Hello, >> >> I'm wanting to set up Apache 2.2 to authenticate using either basic >> or >> digest authentication whichever I decide to do, a

Re: [users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-18 Thread Igor Galić
- Original Message - > Hello, > > I'm wanting to set up Apache 2.2 to authenticate using either basic > or > digest authentication whichever I decide to do, against a Mysql > Database. I am running Apache 2.2 and mysql 5.52. > > Ive set up authentication using textfiles in the past now

[users@httpd] Apache 2.2 authentication against a Mysql Database

2012-11-17 Thread David Mehler
Hello, I'm wanting to set up Apache 2.2 to authenticate using either basic or digest authentication whichever I decide to do, against a Mysql Database. I am running Apache 2.2 and mysql 5.52. Ive set up authentication using textfiles in the past now I am wanting to utilize a database. I've been g