Debian 7: collectd-core
Debian 7: collectd apache2 libhtml-parser-perl libconfig-general-perl libregexp-common-perl librrds-perl
/etc/apache2/sites-available/default
: ( Debian 7 )
/etc/apache2/sites-available/000-default.conf
: ( Ubuntu 14.04 )
... ScriptAlias /collection3/ /usr/share/doc/collectd/examples/collection3/bin/ <Directory "/usr/share/doc/collectd/examples/collection3/bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ...
/etc/apache2/sites-available/000-default.conf
: ( Debian 8 )
<VirtualHost *:80> … ScriptAlias /collection3/ /usr/share/doc/collectd/examples/collection3/bin/ <Directory "/usr/share/doc/collectd/examples/collection3/bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Require all granted </Directory> … <VirtualHost *:80>
a2enmod cgi service apache2 restart