1
I am trying to run WebMCP on an Apache2 server. It's got 2 executable files, which I have in /opt/webmcp/cgi-bin/webmcp.lua and /opt/webmcp/cgi-bin/webmcp-wrapper.lua
If I run the wrapper from a position that is not /opt/webmcp/cgi-bin it says it cannot find webmcp.lua and gives a 500 error.
If I run it from the correct directory it works.
My server has webmcp.lua set as directoryindex and it's giving 500 error. It may be because of this problem? /opt/webmcp/cgi-bin/ is already set as documentroot, and is accessible by www-data.
This question is off topic, as Super User is aimed at consumer computer usage. This question will be (hopefully) transfered by a moderator to our sister site, Server Fault. – neersighted – 2014-01-31T20:18:21.520
"To improve the chances of your question staying open and getting an answer, make sure that it is about professional systems administration. If your question concerns personal equipment, try asking on Super User instead." – Alberto Pau – 2014-01-31T20:53:34.247