do etc/make.conf som pridal tieto moduly pre apache:
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite speling status unique_id userdir usertrack vhost_alias"
do /etc/conf.d/apache2 som pridal -D PERL
Nainstaloval som smokeping, updatol emerge s novymi USE.
Povolil som pristup a spustanie cgi v etc/apache2/modules.d/79_smokeping.conf:
###
### Setup the smokeping image cache and perl cgi script
###
<IfModule mod_alias.c>
Alias "/.simg/" "/var/lib/smokeping/.simg/"
<IfModule mod_perl.c>
<Directory "/var/lib/smokeping/.simg/">
Options -Indexes MultiViews +ExecCGI
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</IfModule>
</IfModule>
AddHandler cgi-script .cgi
A po zadani ipservera/cgi-bin/smokeping.cgi sa nemozem dostat na stranku, ukazuje: You don't have permission to access /cgi-bin/smokeping.cgi on this server.