From bb1b2564911596663c79903361e38935bc101114 Mon Sep 17 00:00:00 2001 From: Julien Valroff Date: Fri, 13 Aug 2010 08:59:02 +0200 Subject: Add example configuration for lighttpd --- debian/README.Debian | 9 +++++++++ debian/changelog | 4 +++- debian/examples | 1 + debian/lighttpd.conf | 11 +++++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 debian/examples create mode 100644 debian/lighttpd.conf diff --git a/debian/README.Debian b/debian/README.Debian index f80acf8..2937dd5 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -10,4 +10,13 @@ served up by a web CGI program, /usr/lib/cgi-bin/mailgraph.cgi. With any normal Debian web server install, this should be accessible as http://localhost/cgi-bin/mailgraph.cgi +Note for Lighttpd users: + Lighttpd doesn't take *.cgi? values, hence the graphs are not displayed + without extra configuration. + An example of such configuration is available in + /usr/share/doc/mailgraph/examples/50-mailgraph-lighttpd.conf + It should be amended to suit your needs, and copied to eg. + /etc/lighttpd/conf-available/50-mailgraph.conf + -- Norbert Tretkowski Thu, 25 Dec 2003 23:50:13 +0100 + -- Julien Valroff Fri, 13 Aug 2010 08:50:13 +0200 diff --git a/debian/changelog b/debian/changelog index 05deb7e..a81b82e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,10 @@ mailgraph (1.14-3) unstable; urgency=low * Update debconf templates translations: + pt - thanks to Américo Monteiro (Closes: #592654) + fr - thanks to Christian Perrier (Closes: #592825) + * Add example configuration for lighttpd and add a note + in README.Debian about it (Closes: #568210) - -- Julien Valroff Fri, 13 Aug 2010 07:57:36 +0200 + -- Julien Valroff Fri, 13 Aug 2010 08:58:31 +0200 mailgraph (1.14-2) unstable; urgency=low diff --git a/debian/examples b/debian/examples new file mode 100644 index 0000000..1c07734 --- /dev/null +++ b/debian/examples @@ -0,0 +1 @@ +debian/lighttpd.conf diff --git a/debian/lighttpd.conf b/debian/lighttpd.conf new file mode 100644 index 0000000..58e8b45 --- /dev/null +++ b/debian/lighttpd.conf @@ -0,0 +1,11 @@ +# Alias for mailgraph.cgi +# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568210 + +alias.url += ( + "/mailgraph.cgi" => "/usr/lib/cgi-bin/mailgraph.cgi", +) + +$HTTP["url"] =~ "^/mailgraph*", { + +} + -- cgit v1.2.3