33 lines
768 B
ApacheConf
33 lines
768 B
ApacheConf
Alias /cacti /usr/share/cacti/site
|
|
|
|
<Location /cacti/graph_image.php>
|
|
order allow,deny
|
|
allow from all
|
|
</Location>
|
|
|
|
<DirectoryMatch /usr/share/cacti/site>
|
|
Options +FollowSymLinks
|
|
AllowOverride None
|
|
order deny,allow
|
|
allow from 172.16.42.0/24
|
|
allow from 2001:6f8:975:1000::1/64
|
|
allow from 2001:748:306:42::2/64
|
|
#allow from 2001:6f8:975:1000:209:6bff:fefa:2182
|
|
deny from all
|
|
# <IfModule mod_php4.c>
|
|
AddType application/x-httpd-php .php
|
|
|
|
php_flag magic_quotes_gpc Off
|
|
php_flag short_open_tag On
|
|
php_flag register_globals Off
|
|
php_flag register_argc_argv On
|
|
php_flag track_vars On
|
|
# this setting is necessary for some locales
|
|
php_value mbstring.func_overload 0
|
|
php_value include_path .
|
|
|
|
DirectoryIndex index.php
|
|
# </IfModule>
|
|
</DirectoryMatch>
|
|
|