Skip to content

Instantly share code, notes, and snippets.

@computercolin
Created January 30, 2012 05:03
Show Gist options
  • Save computercolin/1702642 to your computer and use it in GitHub Desktop.
Save computercolin/1702642 to your computer and use it in GitHub Desktop.
Sample Ubuntu/Debian Cacti Apache2 Config
Alias /cacti /usr/share/cacti
<Directory /usr/share/cacti>
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
AddType application/x-httpd-php .php
<IfModule mod_php5.c>
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 .
</IfModule>
DirectoryIndex index.php
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment