cgi scripts fail to run from userdir with "End of script output before headers" errors
Lonni J Friedman
netllama at gmail.com
Fri Oct 10 14:35:23 PDT 2014
On Fri, Oct 10, 2014 at 2:32 PM, James McDonald
<james at jamesmcdonald.id.au> wrote:
> Had to trim reply's this thread is greater than > 40KB.
>
> Have you tried piping the environment that suexec / apache is passing to the
> m.py to a file and having a look?
>
> e.g. env | /tmp/myout or something pythonesque?
>
> Can you do that with STDERR too?
I can do that when running the script out of /var/www/cgi-bin, but
there's nothing unusual there.
>
> May give you a hint.
>
> And is your netlama UID > 500?
1000
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman netllama at gmail.com
LlamaLand http://netllama.linux-sxs.org
More information about the Linux-users
mailing list