Am Mi, den 29.12.2004 schrieb Sébastien Bisoglio um 15:06:
>>I'm having a problem with MySQL authentification with
apache (for
>>protected folders).
>>
>>Now i'm using a thing like this :
>>
>><Directory /var/www/html/prive>
>>AuthName "Espace Privé"
>>AuthType Basic
>>
>>AuthMySQLUser fdfdsfds
>>AuthMySQLPassword fdsfdsfds
>>AuthMySQLDB auth
>>AuthMySQLUserTable users
>>AuthMySQLNameField user_name
>>AuthMySQLPasswordField user_passwd
>>AuthMySQLGroupField user_group
>>
>>require group fdsfds
>></Directory>
>>
>>But i have 10 folders to make like this then i'm searching for a
>>solution which is more simple... Have you ?
>
>
> More simple in which way? You should be more clear in what your problem
> is.
I dont know if i can make this with an .htaccess or if it exists a
module for making this better.
If you want to store the AUTH data in a MySQL database, then using
mod_auth_mysql is the right way. But you should consider not to use
.htaccess but to set the AUTH settings in the main httpd.conf or vhosts
configuration. Please read
http://httpd.apache.org/docs-2.0/howto/htaccess.html#when
about pros and cons of using .htaccess.
>>I have a second problem. For adding people in my auth
database, i'm
>>using PHPMyadmin and i make a SQL query but i need a more simple web
>>interface to do this.. it exist or not ?
I know. I'm developping 1 but i just want to know if a project
like this
exist or not ;)
http://freshmeat.net/projects/mampa/
http://freshmeat.net/projects/usersadmin/
Sébastien
Alexander
--
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement:
http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.9-1.6_FC2smp
Serendipity 15:23:12 up 6 days, 17:07, load average: 0.79, 0.53, 0.46