Hello all,
I would like to be able to start and pass variables to a couple of customs scripts that I have on my OMV box from my laptop. Now, I am no "techie" but as far as I can tell the simplest way of doing this would be through cgi scripts.
So, first of all I am running 1.0.26 which I guess means that NGINX is installed by default. From what I have read running cgi scripts would be easiest if I had Apache2 installed, however running cgi scripts also seem possible on an NGINX system with the help of FastCGI or SimpleCGI. I tried checking whether any of these utilities were installed on my box (dpkg -s) but nothing turned up (maybe I was trying the wrong package name, fcgi and uwsgi). However considering all the things we can do through the OMV webw gui I guess there must be some cgi- thingy installed by deafult.
So, does anyone have any ideas or should I just go ahead follow some random tutorial for setting up FastCGI?
Also, are cgi scripts a good idea? I was thinkning of making it real simple for me and write the scripts in bash, however considering Shellshock I am not sure that it is such a good idea (obviously I have patched my S***, but you know...). My firewall is setup to only allow connections from my lan, and I have not forwarded any ports, so I guess i should be OK...