Ok, I got it working finally. Some notes:
Part 1: I built tmda-cgi for system-wide operation. I placed the tmda-cgi password file in the user's .tmda directory, next to the .tmda/config file. The user is the owner and group for the tmda-cgi file. According to the tmda-cgi HOWTO, the file permissions should be set to 600 for user-local tmda-cgi in a system-wide configuration. However, the only way I can get past the bad password login error (now properly formatted and reported) is to change the tmda-cgi file permissions to 644. Is this a bug in tmda-cgi, perhaps a carryover from no-su mode? Part 2: When I got past the login problem, I had a bit of a head scratcher with a Python symbol not found error message. Eventually I realized that I had copied the Pending.py file to the wrong directory, and there are actually two Pending.py source files in the tmda source tree - one in TMDA and another in contrib/cgi. And they're not same! Please please please rename one of those files to something else. It's a disaster waiting to happen (except it already happened to me!). Yes, of course I know that the files should never cross paths and everything *should* be fine, but really! The best laid plans of mice and makefiles often go astray, especially when humans are directing the file transfers... Part 3: I can see my pending list in tmda-cgi! Cool! However, the icons and display bits from the /display directory aren't coming through. I placed the cgi/display files into a cgi-bin/tmda/display. The file permissions are 644. The Apache server error log says "file permissions deny server execution: /home/subliminal.com/cgi-bin/tmda/display/last.gif" etc. I'm not quite sure where the /display stuff is supposed to go. Does it belong in the same directory is the index.cgi? If so, what httpd.conf change do I need to make to tell Apache that it's ok to serve documents from the cgi-bin directory? I don't have a web page set up that refers to the tmda/index.cgi, I just jump straight to the cgi-bin/tmda/index.cgi url. Thanks! -Danny Thorpe "Gre7g Luterman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Tue, 7 Jan 2003 00:18:21 -0800, "Danny Thorpe" <[EMAIL PROTECTED]> wrote: The released code has a bug that keeps it from correctly displaying error messages in HTML. tmda-cgi must have been trying to display an error message. If you grab contrib/cgi/Authenticate.py, contrib/cgi/Pending.py, and contrib/cgi/tmda-cgi.py from CVS (see http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/tmda/tmda/contrib/cgi/) then you should be able to see the error being displayed. This will tell you lots more about what is going wrong. :) Gre7g. _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
