Proxy an image from a local system that requires authorisation, such as a internal Security DVR, no proxy required. Save this image.php and wa-la
<?php $temp = file''get''contents('http://user:firstname.lastname@example.org/cgi-bin/guest/Video.cgi?media=JPEG'); header("content-type: image/jpeg"); echo ($temp); ?>
As the developers say 'A PHP based Web Counter on Steroids', this is what I used to use to count unique vistors on the main site Unfortunately it fell out of favour - its must easier to get google to do this for you.
To upgrade to a newer version.
- Copy all files except /var
- Then reconfigure conf/config.php
Librenms uses a php module called Laravel which essentially caches/stashes values in a a hidden form, sometimes the cache needs to be cleared (n.b a restart of httpd nor a reboot of the host fixed this) - magical fix is
php artisan view:clear