> Hello!
>
> Вопрос наверное не совсем сюда....
>
> но все таки,
>
> Можно брать Апачом авторизационную информацию (логин, пароль) из базы
> или скрипта?
Пример для mod_perl:
<Location /perl/edit>
AuthName MySQL_admin
AuthType Basic
PerlHandler Apache::Registry
PerlAuthenHandler Apache::DBILogin
PerlSetVar Auth_DBI_data_source DBI:mysql:database=www;host=sql
AllowOverride All
allow from all
require valid-user
satisfy all
</Location>
Yours sincerely,
Pavel
----------------------------------------------------------------
Pavel P. Zabortsev e-mail: ppz@xxxxxxxxxxxxxx
Software engineer, Postmaster voice: 927-9523, 26-23 (corp)
CDO UPS of Russia fax: 220-6542
Moscow, Russia ICQ: 133354
----------------------------------------------------------------
=============================================================================
= Apache-Talk@xxxxxxxxxxxxx mailing list =
Mail "unsubscribe apache-talk" to majordomo@xxxxxxxxxxxxx if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =
"Russian Apache" includes software developed
by the Apache Group for use in the Apache HTTP server project
(http://www.apache.org/) See
Apache LICENSE.
Copyright (C) 1995-2001 The Apache Group. All rights reserved.
Copyright (C) 1996 Dm. Kryukov; Copyright (C)
1997-2009 Alex Tutubalin. Design (C) 1998 Max Smolev.