summaryrefslogtreecommitdiff
blob: 31c7aec4bdb039957b26e8d27682445c59f79c40 (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.10.18/apcupsd-lighttpd.conf,v 1.1 2005/11/20 17:46:42 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"
	)
}