Re: tmda-cgi failing after apache update on gentoo
Kevin Goodsell <[email protected]> Mon, 31 Oct 2011 19:35:41 -0700
| Newsgroups | gmane.mail.spam.tmda.user |
|---|---|
| Message-ID | <CAE+QhgrkqkvArbr21gU6o1B6uxh+RAp14MJRjYWpOL-0MKijfQ@mail.gmail.com> |
On Mon, Oct 31, 2011 at 3:00 PM, Anthony Ercolano <[email protected]> wrote: > Both the released and "updated" version Kevin "published". > Basically when attempting to execute the cgi I get the following dump from > my browser: > Looks like a web server configuration problem to me. Instead of executing the CGI program, it's sending the program to the browser. > > The thing that I find most interesting is the text Cannot change to > directory: %s=85.. > This appears to be a failure to do the chdir in the first few executable > lines of code in tmda-cgi.c I don't think that's relevant. You are seeing static text from inside the executable. You would find every error message the program can generate there. It doesn't reflect the error that's actually occurring. > In the above example I actually moved the "install" directory of the cgi > below the document root in case this was a permission problem. =A0This di= dn't > help. Yeah, I would think that would ensure that it would *not* work. CGI programs need to be in the CGI directory so the web server knows to execute them, not return them as files. -Kevin ---------------------------------------------------------------------------= --- RSA® Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ tmda-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tmda-users