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
commitc69b9711e6b7cf41da80d23ccb6e2c35b807669c (patch)
treefa1120cd7643807d2654e8b7acf30426cfcbff9e /sys-power/apcupsd/files
parentAdded apcupsd:lighttpd (diff)
downloadgentoo-2-c69b9711e6b7cf41da80d23ccb6e2c35b807669c.tar.gz
gentoo-2-c69b9711e6b7cf41da80d23ccb6e2c35b807669c.tar.bz2
gentoo-2-c69b9711e6b7cf41da80d23ccb6e2c35b807669c.zip
Added lighttpd support. Closes #107300.
(Portage version: 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