]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-lighttpd.conf
- more advanced configuration, almost same as apache one
[packages/eventum.git] / eventum-lighttpd.conf
CommitLineData
7bd3df31 1# $Id$
18426839
ER
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.
7bd3df31 7
18426839
ER
8# running as alias, part 1
9#alias.url += (
10# "/eventum" => "/usr/share/eventum/htdocs",
11#)
7bd3df31 12#}
18426839
ER
13
14# running as separate vhost, part 1
15$HTTP["host"] == "eventum.delfi.lan" {
16 server.document-root = "/usr/share/eventum/htdocs",
17}
18
19# running as alias, part 2
20#$HTTP["url"] =~ "/eventum/" {
21# running as separate vhost, part 2
22$HTTP["host"] == "eventum.delfi.lan" {
23
24 # Make whole eventum password protected
25 auth.backend = "htpasswd"
26 auth.backend.htpasswd.userfile = "/etc/webapps/eventum/htpasswd"
27
28 # rss has it's own authorization
29 $HTTP["url"] !~ "/rss\.php$" {
30 auth.require += (
31 "/" => (
32 "method" => "basic",
33 "realm" => "Eventum",
34 "require" => "valid-user"
35 )
36 )
37 }
38
39 # for SCM integration
40 # Set here IP of host running CVS
41 $HTTP["remoteip"] != "127.0.0.1" {
42 $HTTP["url"] =~ "/scm_ping\.php$" {
43 url.access-deny = ( "" )
44 }
45 }
46
47}
48
49# vim:ts=4
This page took 0.039927 seconds and 4 git commands to generate.