Author: glen                         Date: Mon Jul 24 17:27:48 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- by default authorization is off
- by default install eventum under /eventum

---- Files affected:
SOURCES:
   eventum-lighttpd.conf (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/eventum-lighttpd.conf
diff -u SOURCES/eventum-lighttpd.conf:1.2 SOURCES/eventum-lighttpd.conf:1.3
--- SOURCES/eventum-lighttpd.conf:1.2   Mon Jul 24 19:15:18 2006
+++ SOURCES/eventum-lighttpd.conf       Mon Jul 24 19:27:43 2006
@@ -6,44 +6,41 @@
 # To use one of the configurations uncomment the other.
 
 # running as alias, part 1
-#alias.url += (
-#      "/eventum" => "/usr/share/eventum/htdocs",
-#)
-#}
+alias.url += (
+       "/eventum" => "/usr/share/eventum/htdocs",
+)
 
 # running as separate vhost, part 1
-$HTTP["host"] == "eventum.delfi.lan" {
-    server.document-root = "/usr/share/eventum/htdocs",
-}
+#$HTTP["host"] == "eventum.delfi.lan" {
+#    server.document-root = "/usr/share/eventum/htdocs",
+#}
 
 # running as alias, part 2
-#$HTTP["url"] =~ "/eventum/" {
+$HTTP["url"] =~ "^/eventum/" {
 # running as separate vhost, part 2
-$HTTP["host"] == "eventum.delfi.lan" {
+#$HTTP["host"] == "eventum.delfi.lan" {
 
-       # Make whole eventum password protected
-       auth.backend = "htpasswd"
-       auth.backend.htpasswd.userfile = "/etc/webapps/eventum/htpasswd"
+#      # Make whole eventum password protected
+#      auth.backend = "htpasswd"
+#      auth.backend.htpasswd.userfile = "/etc/webapps/eventum/htpasswd"
+#
+#      # rss has it's own authorization
+#      $HTTP["url"] !~ "/rss\.php$" {
+#              auth.require += (
+#                      "/" => (
+#                              "method"  => "basic",
+#                              "realm"   => "Eventum",
+#                              "require" => "valid-user"
+#                      )
+#              )
+#      }
 
-       # rss has it's own authorization
-       $HTTP["url"] !~ "/rss\.php$" {
-               auth.require += (
-                       "/" => (
-                               "method"  => "basic",
-                               "realm"   => "Eventum",
-                               "require" => "valid-user"
-                       )
-               )
-       }
-
-       # for SCM integration
-       # Set here IP of host running CVS
+       # SCM integration. Set here IP of host running CVS
        $HTTP["remoteip"] != "127.0.0.1" {
                $HTTP["url"] =~ "/scm_ping\.php$" {
                        url.access-deny = ( "" )
                }
        }
-
 }
 
 # vim:ts=4
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to