Line 42:
Line 42:
$iface_title['eth1'] = 'Internet';
$iface_title['eth1'] = 'Internet';
Finnaly set application path:
Finnaly set application path:
−
$vnstat_bin = '/usr/bin/vnstat';
+
$vnstat_bin = 'vnstat';
−
Then change permission on /var/lib/vnstat/* files
−
chmod 666 /var/lib/vnstat/*;
Wait and you should see the application working at http://yourserverIP/vnstat_php_frontend-1.4.1
Wait and you should see the application working at http://yourserverIP/vnstat_php_frontend-1.4.1