httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiongfei Wang <wan...@arches.uga.edu>
Subject Re: [users@httpd] problem with configure MySQL for authentication
Date Tue, 04 Feb 2003 03:00:12 GMT
Thanks for rerponse;
what is the directives for having plaintext as password or encryped
passwords?
Thanks


On Mon, 3 Feb 2003, Leander Jedamus wrote:

> Hi!
> 
> Try this one:
> ----8<----8<----8<----8<----8<----8<----8<----8<----
> AuthName "password for ..."
> AuthType Basic
> AuthMySQLHost db_hostname
> AuthMySQLUser db_user
> AuthMySQLPassword your_password_here
> AuthMySQLDB db_name
> AuthMySQLUserTable table_name
> AuthMySQLGroupTable table_name2
> AuthMySQLNameField user_name
> AuthMySQLGroupField user_group
> AuthMySQLPasswordField user_passwd
> require valid-user
> ----8<----8<----8<----8<----8<----8<----8<----8<----
> 
> Bis dann,
> Leander Jedamus
> Am Montag, 3. Februar 2003 15:39 schrieb Xiongfei Wang:
> > I have redhat 7.3 server wiht apache 1.3.23 running on it. i want to use
> > my sql for user athentication. I did it following the instruction from
> > p196 to p212 in Kabi's Apache Server 2 bible.  After I added
> >
> > ---------------------------------------------------------------
> > # Using mysql database for authrization and authentication
> > Auth_MySQL_Info db_hostname db_username db_password
> > Auth_MySQL_General_DB database_name
> > -----------------------------------------------------
> >
> > to httpd.conf and retarted the httpd i got error msg:
> >
> > -------------------------------------------------------
> > [root@mango mysqlsrc]# service httpd restart
> > Stopping httpd:                                            [  OK  ]
> > Starting httpd: Syntax error on line 100 of /etc/httpd/conf/httpd.conf:
> > Invalid command 'Auth_MySQL_Info', perhaps mis-spelled or defined by a
> > module not included in the server configuration [FAILED]
> > --------------------------------------------------------------------------
> >
> > It says Auth_MySQL_Info is an invalid command, but i copy it from kabir's
> > book.
> >
> > What is the reason, and how can i fix this problem?
> >
> > Thanks
> >
> >
> > ---------------------------------------------------------------------
> > 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
> 


---------------------------------------------------------------------
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