ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА














     АРХИВ :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[apache-talk] mod_macro



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                 =



 




Copyright © Lexa Software, 1996-2009.