]> git.pld-linux.org Git - packages/eventum.git/blame - eventum-lighttpd.conf
- fix cli install, up to bzr4167
[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
37022e56
ER
8# To redirect all http requests to https server:
9#$SERVER["socket"] == ":80" {
10# $HTTP["host"] == "eventum.example.org" {
11# server.name = "eventum.example.org"
12# url.redirect = ( "^/(.*)" => "https://eventum.example.org/$1" )
13# }
14#}
15
18426839 16# running as alias, part 1
7a930844
ER
17alias.url += (
18 "/eventum" => "/usr/share/eventum/htdocs",
19)
18426839
ER
20
21# running as separate vhost, part 1
6dac82cb 22#$HTTP["host"] == "eventum.example.org" {
7a930844
ER
23# server.document-root = "/usr/share/eventum/htdocs",
24#}
18426839
ER
25
26# running as alias, part 2
7a930844 27$HTTP["url"] =~ "^/eventum/" {
18426839 28# running as separate vhost, part 2
6dac82cb 29#$HTTP["host"] == "eventum.example.org" {
18426839 30
7a930844
ER
31# # Make whole eventum password protected
32# auth.backend = "htpasswd"
33# auth.backend.htpasswd.userfile = "/etc/webapps/eventum/htpasswd"
34#
35# # rss has it's own authorization
36# $HTTP["url"] !~ "/rss\.php$" {
37# auth.require += (
38# "/" => (
39# "method" => "basic",
40# "realm" => "Eventum",
41# "require" => "valid-user"
42# )
43# )
44# }
45
46 # SCM integration. Set here IP of host running CVS
18426839
ER
47 $HTTP["remoteip"] != "127.0.0.1" {
48 $HTTP["url"] =~ "/scm_ping\.php$" {
49 url.access-deny = ( "" )
50 }
51 }
18426839
ER
52}
53
54# vim:ts=4
This page took 0.03925 seconds and 4 git commands to generate.