On Tue, Jun 23, 2009 at 5:10 AM, Mark Sapiro <m...@msapiro.net> wrote:
> > The OP and I had a conversation on the #mailman channel at freenode. We > determined that he could successfully run > > sudo -u www-data /bin/sh -c "PATH_INFO=;export > PATH_INFO;HTTP_HOST=www.example.com;export > HTTP_HOST;REQUEST_METHOD=GET;export REQUEST_METHOD; > /usr/local/mailman/cgi-bin/listinfo" > > (with appropriate changes to host and path) from the command line and > the listinfo CGI would produce appropriate output, so the problem is > apparently some issue with the way apache is (or isn't) invoking the > CGI. The OP says suEXEC is not involved, and I had no other ideas. > I spent some time with Apache guys and they said the way the script is being executed doesn't tell us everything and that I should simply run it without setting up environments, etc. When I do, I get the same result (500 internal error). I tried setting up ScriptLog to see what is going on, but since it's a binary, it doesn't produce any logs out of it. I ran 'ldd' on 'listinfo' and 'admin', etc. to see if I'm missing any libraries, which I am not. I'm just stuck here. Derek ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9