[PLUG] Can anyone recommend intligent way to debug not executing CGI scripts on Apache2?

Tomas Kuchta tomas.kuchta.lists at gmail.com
Mon Jan 7 19:12:20 UTC 2019


Hi,

I am having difficulty to debug why CGI scripts are not executed by
Apache2, again.

Can someone recommend some iteligent, algorithmical and converging way to
debug this?

There is nothing visible in the logs with CGIs, no error messages, no
config errors, no obvious file ownership, permission issues.

I am standing up the servers using Ansible, one like the other, repeatably.
Still, some servers work, some do not. Most of the time, the script execute
fine upon provisionning, some times the do not. When they do not run, it
takes days of almost random rebuilds to resolve. Some times .cgi works,
sometimes .py/php does not. Often helloWorld.cgi runs but not some other
random.cgi. Usually, what I want/need does not run. I am sick of sinking
days in this unproductive trial and error...

Any sensible and calm advice?

Thanks, Tomas



More information about the PLUG mailing list