cc7cd5e51370f708882b19189e7cd5c74d541604
1 # -- new style
2 Alias /nagvis/nagvis/templates /etc/nagvis/templates
3 Alias /nagvis/nagvis/gadgets /etc/nagvis/gadgets
4 Alias /nagvis/nagvis/images /var/lib/nagvis/images
5 Alias /nagvis /usr/share/nagvis/htdocs
7 # the FollowSymlinks option is only considere in a directory section, not
8 # in a DirectoryMatch section. Setting it here.
9 <Directory /usr/share/nagvis/htdocs>
10 Options FollowSymLinks
11 </Directory>
13 # -- old style
14 # Alias /nagios3/nagvis /usr/share/nagvis/htdocs
16 # -- use basic authentification from nagios3 package
17 # please adapt to your needs
18 <DirectoryMatch (/usr/share/nagvis/htdocs|etc/nagvis(templates|gadgets)|/var/lib/nagvis)>
19 DirectoryIndex index.php
21 Order Allow,Deny
22 Allow From All
24 AuthName "NagVis Access"
25 AuthType Basic
26 AuthUserFile /etc/nagios3/htpasswd.users
27 require valid-user
28 </DirectoryMatch>