]> gitweb.michael.orlitzky.com - mjo-overlay.git/blob - net-analyzer/pnp4nagios/files/98_pnp4nagios-2.4.conf
5944a2e2f70f69fc4952fee953e73e7f7b19092a
[mjo-overlay.git] / net-analyzer / pnp4nagios / files / 98_pnp4nagios-2.4.conf
1 <IfDefine PNP>
2
3 Alias /pnp4nagios /usr/share/pnp/
4
5 <Directory /usr/share/pnp>
6 AllowOverride AuthConfig
7 Require all granted
8
9 <IfModule rewrite_module>
10 # Turn on URL rewriting
11 RewriteEngine On
12 Options +FollowSymLinks
13
14 # Installation directory
15 RewriteBase /pnp4nagios
16
17 # Protect application and system files from being viewed
18 RewriteRule ^(application|modules|system) - [F,L]
19
20 # Allow any files or directories that exist to be displayed directly
21 RewriteCond %{REQUEST_FILENAME} !-f
22 RewriteCond %{REQUEST_FILENAME} !-d
23
24 # Rewrite all other URLs to index.php/URL
25 RewriteRule .* index.php/$0 [PT,L]
26 </IfModule>
27 </Directory>
28
29 </IfDefine>