]> git.pld-linux.org Git - packages/eventum.git/blob - eventum-lighttpd.conf
- by default authorization is off
[packages/eventum.git] / eventum-lighttpd.conf
1 # $Id$
2 #
3 # This config provides two kinds of configuration, for url based ("/eventum")
4 # and vhost based ("http://eventum.example.org").
5 #
6 # To use one of the configurations uncomment the other.
7
8 # running as alias, part 1
9 alias.url += (
10         "/eventum" => "/usr/share/eventum/htdocs",
11 )
12
13 # running as separate vhost, part 1
14 #$HTTP["host"] == "eventum.delfi.lan" {
15 #    server.document-root = "/usr/share/eventum/htdocs",
16 #}
17
18 # running as alias, part 2
19 $HTTP["url"] =~ "^/eventum/" {
20 # running as separate vhost, part 2
21 #$HTTP["host"] == "eventum.delfi.lan" {
22
23 #       # Make whole eventum password protected
24 #       auth.backend = "htpasswd"
25 #       auth.backend.htpasswd.userfile = "/etc/webapps/eventum/htpasswd"
26 #
27 #       # rss has it's own authorization
28 #       $HTTP["url"] !~ "/rss\.php$" {
29 #               auth.require += (
30 #                       "/" => (
31 #                               "method"  => "basic",
32 #                               "realm"   => "Eventum",
33 #                               "require" => "valid-user"
34 #                       )
35 #               )
36 #       }
37
38         # SCM integration. Set here IP of host running CVS
39         $HTTP["remoteip"] != "127.0.0.1" {
40                 $HTTP["url"] =~ "/scm_ping\.php$" {
41                         url.access-deny = ( "" )
42                 }
43         }
44 }
45
46 # vim:ts=4
This page took 0.068333 seconds and 4 git commands to generate.