SOURCES: eventum-apache.conf - update configuration - use director...

glen glen at pld-linux.org
Wed Mar 8 13:36:32 CET 2006


Author: glen                         Date: Wed Mar  8 12:36:32 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- update configuration
- use directory directives instead of location

---- Files affected:
SOURCES:
   eventum-apache.conf (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/eventum-apache.conf
diff -u SOURCES/eventum-apache.conf:1.3 SOURCES/eventum-apache.conf:1.4
--- SOURCES/eventum-apache.conf:1.3	Mon Mar 28 21:41:01 2005
+++ SOURCES/eventum-apache.conf	Wed Mar  8 13:36:27 2006
@@ -1,38 +1,47 @@
-# vim:syn=apache
+# $Id$
 
+# Eventum is under /eventum
 Alias /eventum /usr/share/eventum/htdocs
 
-# allow from localhost
-<Location /eventum>
+# Eventum is running under VirtualHost
+#NameVirtualHost *:80
+#<VirtualHost *:80>
+#	ServerName eventum
+#	DocumentRoot /usr/share/eventum/htdocs
+#</VirtualHost>
+#NameVirtualHost *:443
+#<VirtualHost *:443>
+#	ServerName eventum
+#	DocumentRoot /usr/share/eventum/htdocs
+#</VirtualHost>
+
+<Directory /usr/share/eventum/htdocs>
 	AllowOverride None
-	Order allow,deny
-	Allow from 127.0.0.1
-</Location>
+	Order deny,allow
+	Allow from all
 
-# or perhaps you want it to be password protected
-#<Location /eventum>
+	# for SCM integration
+	<Files scm_ping.php>
+		AllowOverride None
+		Order allow,deny
+		# Set here IP of host running CVS
+		Allow from 127.0.0.1
+	</Files>
+
+	# Make whole eventum password protected
 #	AllowOverride None
 #	Deny from all
 #	AuthType Basic
-#	AuthUserFile /etc/eventum/users
-#	AuthGroupFile /etc/eventum/groups
+#	AuthUserFile /etc/webapps/eventum/users
+#	AuthGroupFile /etc/webapps/eventum/groups
 #	AuthName "Eventum"
 #	Require group eventum
 #	Satisfy any
-#</Location>
+</Directory>
 
-# for scm integration
-#<Location /eventum/scm_ping.php>
-#	AllowOverride None
-#	Order allow,deny
-#	# Set here IP of host running CVS
-#	Allow from 127.0.0.1
-#</Location>
-
-# cli interface
-#<Location /eventum/rpc>
-#	AllowOverride None
-#	Order allow,deny
-#	# Add here clients whom you want to allow CLI access
-#	Allow from 127.0.0.1
-#</Location>
+# 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
+</Directory>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-apache.conf?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list