From: | "Tobias Scherbaum (dertobi123)" <dertobi123@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/pnp4nagios/files: 98_pnp4nagios.conf |
Date: | Fri, 02 Apr 2010 16:50:18 |
Message-Id: | E1Nxk4W-0008M0-2L@stork.gentoo.org |
1 | dertobi123 10/04/02 16:50:16 |
2 | |
3 | Added: 98_pnp4nagios.conf |
4 | Log: |
5 | Version bump, add Apache2 use-flag to allow for automagic integration into Apache (#302611) (Add -PNP to /etc/conf.d/apache2). |
6 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/pnp4nagios/files/98_pnp4nagios.conf |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/files/98_pnp4nagios.conf?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/pnp4nagios/files/98_pnp4nagios.conf?rev=1.1&content-type=text/plain |
13 | |
14 | Index: 98_pnp4nagios.conf |
15 | =================================================================== |
16 | <IfDefine PNP> |
17 | Alias /pnp4nagios /usr/share/pnp/ |
18 | <Directory /usr/share/pnp> |
19 | AllowOverride AuthConfig |
20 | Order allow,deny |
21 | Allow from all |
22 | <IfModule mod_rewrite.c> |
23 | # Turn on URL rewriting |
24 | RewriteEngine On |
25 | Options FollowSymLinks |
26 | # Installation directory |
27 | RewriteBase /pnp4nagios |
28 | # Protect application and system files from being viewed |
29 | RewriteRule ^(application|modules|system) - [F,L] |
30 | # Allow any files or directories that exist to be displayed directly |
31 | RewriteCond %{REQUEST_FILENAME} !-f |
32 | RewriteCond %{REQUEST_FILENAME} !-d |
33 | # Rewrite all other URLs to index.php/URL |
34 | RewriteRule .* index.php/$0 [PT,L] |
35 | </IfModule> |
36 | </Directory> |
37 | </IfDefine> |