summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2005-11-20 17:46:42 +0000
committerMichael Imhof <tantive@gentoo.org>2005-11-20 17:46:42 +0000
commit178a4f40d4f895cd393dff23cb37b5154795fa13 (patch)
tree11d881dda2c3a1e4ea30bbf96dce661d42febe96 /sys-power/apcupsd/files
parentAdded apcupsd:lighttpd (diff)
downloadhistorical-178a4f40d4f895cd393dff23cb37b5154795fa13.tar.gz
historical-178a4f40d4f895cd393dff23cb37b5154795fa13.tar.bz2
historical-178a4f40d4f895cd393dff23cb37b5154795fa13.zip
Added lighttpd support. Closes #107300.
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'sys-power/apcupsd/files')
-rw-r--r--sys-power/apcupsd/files/3.10.18/apcupsd-lighttpd.conf19
-rw-r--r--sys-power/apcupsd/files/digest-apcupsd-3.10.18-r21
2 files changed, 20 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"
+ )
+}
+
diff --git a/sys-power/apcupsd/files/digest-apcupsd-3.10.18-r2 b/sys-power/apcupsd/files/digest-apcupsd-3.10.18-r2
new file mode 100644
index 000000000000..34355c479450
--- /dev/null
+++ b/sys-power/apcupsd/files/digest-apcupsd-3.10.18-r2
@@ -0,0 +1 @@
+MD5 64104a1fface0253e77318ca84948bac apcupsd-3.10.18.tar.gz 5698299