▸ quoted from Clayton Lowther
On Sat, November 5, 2016 8:52 pm, Clayton Lowther wrote:
I am setting up XYMON on a Rasberry pi 2. The problem I have ran into is
Whenever I click on a link on the administration tab or reports it tries
to download a .SH file rather than change to the right page???
What am I Missing?
Thanks
Clayton
Hi Clayton,
This is usually a sign that your web server isn't configured to execute
the .sh file rather than simply send it as-is.
In apache, by default, this is covered by the "ScriptAlias" directive in
the sample snippet. You can also add it manually with something like
"AddHandler cgi-script .sh"
As for other web servers, look for whatever authorizes ".cgi" files to be
executed and duplicate that.
If it's already in place, perhaps double check the unix permissions on the
.sh files themselves? They should be a symlink to the cgiwrap executable
and the latter will need to be executable.
HTH,
-jc