]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-lighttpd.conf
- by default authorization is off
[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 8# running as alias, part 1
7a930844
ER
9alias.url += (
10 "/eventum" => "/usr/share/eventum/htdocs",
11)
18426839
ER
12
13# running as separate vhost, part 1
7a930844
ER
14#$HTTP["host"] == "eventum.delfi.lan" {
15# server.document-root = "/usr/share/eventum/htdocs",
16#}
18426839
ER
17
18# running as alias, part 2
7a930844 19$HTTP["url"] =~ "^/eventum/" {
18426839 20# running as separate vhost, part 2
7a930844 21#$HTTP["host"] == "eventum.delfi.lan" {
18426839 22
7a930844
ER
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
18426839
ER
39 $HTTP["remoteip"] != "127.0.0.1" {
40 $HTTP["url"] =~ "/scm_ping\.php$" {
41 url.access-deny = ( "" )
42 }
43 }
18426839
ER
44}
45
46# vim:ts=4
This page took 0.064967 seconds and 4 git commands to generate.