Accessing cgi-bin page from Dashboard
Posted: Mon 02 Nov 2020 2:34 am
This might be a dumb question but is there a straightforward way to add a "relative" link into interface/index.html to a cgi-bin script sevred by apache on the same host? For the most part I'm running a pretty "stock" installation of CMX.
Why "relative"? Because I'm often tinkering, and switching Pis around ... and I avoid static IP addresses (so IP addresses tend to follow the hardware, rather than the SD card).
I am running on a Pi, and I typically test my cgi-bin installation with:
I have been working on a Python script that collects some information about the state of the Pi which I run on most of my Pis. It's not terribly sophisticated but helpful in getting a quick overview...
Thanks,
Bob
Why "relative"? Because I'm often tinkering, and switching Pis around ... and I avoid static IP addresses (so IP addresses tend to follow the hardware, rather than the SD card).
I am running on a Pi, and I typically test my cgi-bin installation with:
Code: Select all
curl localhost/cgi-bin/pi_health.py
Thanks,
Bob