######################################################## # Here you can place project specific apache directives. # This file will be included into core httpd.conf, after # core directives. ######################################################## allow from all allow from all AuthName /content AuthType Basic PerlAuthenHandler Contenido::Apache::authentication Require valid-user AuthName "@PROJECT_NAME@: Contenido" allow from all AuthName /content AuthType Basic PerlAuthenHandler Contenido::Apache::authentication Require valid-user AuthName "@PROJECT_NAME@: Contenido" # Локальное хранение файлов #Alias /images @IMAGES@ #Alias /binary @BINARY@ # Удаленное хранение файлов RewriteEngine on RewriteRule ^/images/(.*) @IMAGES@images/$1 RewriteRule ^/binary/(.*) @BINARY@images/$1 # Бывает нужно, если инсталляция сделана в symlink каталоге. # Например: /home => /usr/home Options FollowSymLinks