-# $Id$
-
# Eventum is under /eventum
Alias /eventum /usr/share/eventum/htdocs
<Directory /usr/share/eventum/htdocs>
AllowOverride None
- Order deny,allow
- Allow from all
+ # Apache < 2.4
+ <IfModule !mod_authz_core.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
+ # Apache 2.4
+ <IfModule mod_authz_core.c>
+ Require all granted
+ </IfModule>
# Make whole eventum password protected
# AllowOverride None
# for SCM integration
<Files scm_ping.php>
- Order allow,deny
- # Set here IP of host running CVS
- Allow from 127.0.0.1
+ # Apache < 2.4
+ <IfModule !mod_authz_core.c>
+ Order allow,deny
+ Allow from 127.0.0.1
+ </IfModule>
+ # Apache 2.4
+ <IfModule mod_authz_core.c>
+ # SCM integration. Set here IP of host running CVS, SVN, Git
+ Require local
+# Require ip xxx.xxx.xxx.xxx
+ </IfModule>
</Files>
# rss has it's own authorization
<Files rss.php>
- Allow from all
+ # Apache < 2.4
+ <IfModule !mod_authz_core.c>
+ Order allow,deny
+ Allow from all
+ </IfModule>
+ # Apache 2.4
+ <IfModule mod_authz_core.c>
+ Require all granted
+ </IfModule>
</Files>
</Directory>
# RPC for CLI interface
<Directory /usr/share/eventum/htdocs/rpc>
- Order allow,deny
# Add here clients whom you want to allow CLI access
- Allow from 127.0.0.1
+ # Apache < 2.4
+ <IfModule !mod_authz_core.c>
+ Order allow,deny
+ Allow from 127.0.0.1
+ </IfModule>
+ # Apache 2.4
+ <IfModule mod_authz_core.c>
+ Require local
+# Require ip xxx.xxx.xxx.xxx
+ </IfModule>
</Directory>