Hi!
http://www.cri.ensmp.fr/~coelho/mod_macro/
Экспериментальный модуль макросов конфигурации:
<VirtualHost www.foo.com>
DocumentRoot /foo/document/root/directory
<Macro SubDirAccessControl $subdir>
# access control to subdirs...
<Location /$subdir>
AuthUserFile /usr/web/conf/www.foo.com.pwd
AuthGroupFile /usr/web/conf/www.foo.com.pwd
AuthType Basic
AuthName "Access to /$subdir directory"
require group $subdir
</Location>
</Macro>
Use SubDirAccessControl A
Use SubDirAccessControl B
Use SubDirAccessControl C
Use SubDirAccessControl D
Use SubDirAccessControl E
Use SubDirAccessControl G
Use SubDirAccessControl H
Use SubDirAccessControl J
Use SubDirAccessControl K
Use SubDirAccessControl L
Use SubDirAccessControl M
Use SubDirAccessControl N
</VirtualHost>
Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.
=============================================================================
= Apache-Talk@lists.lexa.ru mailing list =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
= Archive avaliable at http://www.lexa.ru/apache-talk =