diff options
Diffstat (limited to 'sys-power/apcupsd/files/3.10.18/apcupsd-lighttpd.conf')
-rw-r--r-- | sys-power/apcupsd/files/3.10.18/apcupsd-lighttpd.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys-power/apcupsd/files/3.10.18/apcupsd-lighttpd.conf b/sys-power/apcupsd/files/3.10.18/apcupsd-lighttpd.conf new file mode 100644 index 000000000000..31c7aec4bdb0 --- /dev/null +++ b/sys-power/apcupsd/files/3.10.18/apcupsd-lighttpd.conf @@ -0,0 +1,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" + ) +} + |