From: | "Tobias Scherbaum (dertobi123)" <dertobi123@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/nagios-core/files: lighttpd_nagios3-r1.conf |
Date: | Thu, 22 Jan 2009 17:01:02 |
Message-Id: | E1LQ2vL-0001jE-Iw@stork.gentoo.org |
1 | dertobi123 09/01/22 17:00:59 |
2 | |
3 | Added: lighttpd_nagios3-r1.conf |
4 | Log: |
5 | Require mod_alias in lighttpd config, #191675 |
6 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/nagios-core/files/lighttpd_nagios3-r1.conf |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-core/files/lighttpd_nagios3-r1.conf?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nagios-core/files/lighttpd_nagios3-r1.conf?rev=1.1&content-type=text/plain |
13 | |
14 | Index: lighttpd_nagios3-r1.conf |
15 | =================================================================== |
16 | server.modules += ("mod_cgi") |
17 | server.modules += ("mod_auth") |
18 | server.modules += ("mod_alias") |
19 | |
20 | auth.require += ( "/nagios" => |
21 | ( |
22 | "method" => "digest", |
23 | "realm" => "nagios", |
24 | "require" => "valid-user" |
25 | ) |
26 | ) |
27 | |
28 | $HTTP["url"] =~ "^/nagios/cgi-bin/" { |
29 | dir-listing.activate = "disable" |
30 | cgi.assign = ( |
31 | ".pl" => "/usr/bin/perl", |
32 | ".cgi" => "" |
33 | ) |
34 | } |
35 | |
36 | alias.url += ( |
37 | "/nagios/cgi-bin" => "/usr/lib/nagios/cgi-bin", |
38 | "/nagios" => "/usr/share/nagios/htdocs" |
39 | ) |