Revision 296 (by ahitrov, 2013/03/26 17:59:01) Promosite (anthill) project source
########################################################
# Here you can place project specific apache directives.
# This file will be included into core httpd.conf, after
# core directives.
########################################################
<Location               />
        allow           from all
</Location>

<Location              /contenido>
        allow           from all

        AuthName /content
        AuthType Basic
        PerlAuthenHandler       Contenido::Apache::authentication
        <Limit GET POST>
                Require  valid-user
                AuthName        "@PROJECT_NAME@: Contenido"
        </Limit>
</Location>

<Location              /voting/result.html>
        allow           from all

        AuthName /content
        AuthType Basic
        PerlAuthenHandler       Contenido::Apache::authentication
        <Limit GET POST>
                Require  valid-user
                AuthName        "@PROJECT_NAME@: Contenido"
        </Limit>
</Location>

# Локальное хранение файлов
#Alias	/images			@IMAGES@
#Alias	/binary			@BINARY@

# Удаленное хранение файлов
RewriteEngine                   on
RewriteRule   ^/images/(.*)     @IMAGES@images/$1
RewriteRule   ^/binary/(.*)     @BINARY@images/$1

# Бывает нужно, если инсталляция сделана в symlink каталоге.
# Например: /home => /usr/home
<Directory />
	Options FollowSymLinks
</Directory>