Line # Revision Author
1 296 ahitrov ########################################################
2 # Here you can place project specific apache directives.
3 # This file will be included into core httpd.conf, after
4 # core directives.
5 ########################################################
6 <Location />
7 allow from all
8 </Location>
9
10 <Location /contenido>
11 allow from all
12
13 AuthName /content
14 AuthType Basic
15 PerlAuthenHandler Contenido::Apache::authentication
16 <Limit GET POST>
17 Require valid-user
18 AuthName "@PROJECT_NAME@: Contenido"
19 </Limit>
20 </Location>
21
22 <Location /voting/result.html>
23 allow from all
24
25 AuthName /content
26 AuthType Basic
27 PerlAuthenHandler Contenido::Apache::authentication
28 <Limit GET POST>
29 Require valid-user
30 AuthName "@PROJECT_NAME@: Contenido"
31 </Limit>
32 </Location>
33
34 # Локальное хранение файлов
35 #Alias /images @IMAGES@
36 #Alias /binary @BINARY@
37
38 # Удаленное хранение файлов
39 RewriteEngine on
40 RewriteRule ^/images/(.*) @IMAGES@images/$1
41 RewriteRule ^/binary/(.*) @BINARY@images/$1
42
43 # Бывает нужно, если инсталляция сделана в symlink каталоге.
44 # Например: /home => /usr/home
45 <Directory />
46 Options FollowSymLinks
47 </Directory>