diff --git a/debian/apache.conf b/debian/apache.conf
index a2933f6ca9df9549c14b143071c13e29684a4628..cc7cd5e51370f708882b19189e7cd5c74d541604 100644 (file)
--- a/debian/apache.conf
+++ b/debian/apache.conf
Alias /nagvis/nagvis/images /var/lib/nagvis/images
Alias /nagvis /usr/share/nagvis/htdocs
+# the FollowSymlinks option is only considere in a directory section, not
+# in a DirectoryMatch section. Setting it here.
+<Directory /usr/share/nagvis/htdocs>
+ Options FollowSymLinks
+</Directory>
+
# -- old style
# Alias /nagios3/nagvis /usr/share/nagvis/htdocs
# -- use basic authentification from nagios3 package
# please adapt to your needs
<DirectoryMatch (/usr/share/nagvis/htdocs|etc/nagvis(templates|gadgets)|/var/lib/nagvis)>
- Options FollowSymLinks
DirectoryIndex index.php
Order Allow,Deny