]> git.pld-linux.org Git - packages/eventum.git/blame_incremental - eventum-apache.conf
up to 3.1.6
[packages/eventum.git] / eventum-apache.conf
... / ...
CommitLineData
1# Eventum is under /eventum
2Alias /eventum /usr/share/eventum/htdocs
3
4# Eventum is running under VirtualHost
5#NameVirtualHost *:80
6#<VirtualHost *:80>
7# ServerName eventum.example.org
8# DocumentRoot /usr/share/eventum/htdocs
9#</VirtualHost>
10#NameVirtualHost *:443
11#<VirtualHost *:443>
12# ServerName eventum.example.org
13# DocumentRoot /usr/share/eventum/htdocs
14#</VirtualHost>
15
16<Directory /usr/share/eventum/htdocs>
17 AllowOverride None
18 # Apache < 2.4
19 <IfModule !mod_authz_core.c>
20 Order allow,deny
21 Allow from all
22 </IfModule>
23 # Apache 2.4
24 <IfModule mod_authz_core.c>
25 Require all granted
26 </IfModule>
27
28 # Make whole eventum password protected
29# AllowOverride None
30# Deny from all
31# AuthType Basic
32# AuthUserFile /etc/webapps/eventum/users
33# AuthGroupFile /etc/webapps/eventum/groups
34# AuthName "Eventum"
35# Require group eventum
36# Satisfy any
37
38 # for SCM integration
39 <Files scm_ping.php>
40 # Apache < 2.4
41 <IfModule !mod_authz_core.c>
42 Order allow,deny
43 Allow from 127.0.0.1
44 </IfModule>
45 # Apache 2.4
46 <IfModule mod_authz_core.c>
47 # SCM integration. Set here IP of host running CVS, SVN, Git
48 Require local
49# Require ip xxx.xxx.xxx.xxx
50 </IfModule>
51 </Files>
52
53 # rss has it's own authorization
54 <Files rss.php>
55 # Apache < 2.4
56 <IfModule !mod_authz_core.c>
57 Order allow,deny
58 Allow from all
59 </IfModule>
60 # Apache 2.4
61 <IfModule mod_authz_core.c>
62 Require all granted
63 </IfModule>
64 </Files>
65</Directory>
66
67# RPC for CLI interface
68<Directory /usr/share/eventum/htdocs/rpc>
69 # Add here clients whom you want to allow CLI access
70 # Apache < 2.4
71 <IfModule !mod_authz_core.c>
72 Order allow,deny
73 Allow from 127.0.0.1
74 </IfModule>
75 # Apache 2.4
76 <IfModule mod_authz_core.c>
77 Require local
78# Require ip xxx.xxx.xxx.xxx
79 </IfModule>
80</Directory>
This page took 0.033026 seconds and 4 git commands to generate.