summaryrefslogtreecommitdiff
blob: a90f6310ea32dfddbf24ab07ce29d16efdd3d613 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
###############################################################################
# apcupsd.conf - apcupsd cgi programs configuration
# include'd by lighttpd.conf.
# $Header: /var/cvsroot/gentoo-x86/sys-power/apcupsd/files/3.12.2/apcupsd-lighttpd.conf,v 1.1 2006/03/19 22:49:08 tantive Exp $
###############################################################################

# Uncomment this if you don'thave mod_cgi and mod_alias active already
# server.modules += ("mod_cgi", "mod_alias")

alias.url += (
	"/apcupsd/"	=> "/var/www/apcupsd/"
)

$HTTP["url"] =~ "^/apcupsd/" {
	cgi.assign = (
		".cgi"	=> "/usr/bin/env"
	)
}