However, if deployed, the tmda-cgi could more or less gind my server to a crawl, because of it's double execution system (IE: C proggie, loads Python which in turn executes the tmda-cgi.py script)
The reason for this is because most (all?) modern systems do not allow SUID on a script, and tmda-cgi has to be SUID root for 'system-wide mode' to work, as the script must Set UID to become other users.
Are there any plans to develop TMDA-CGI into a mod_python type application? If so, is there a rough idea for release date and are you looking for some extra eyes and hands? If not, then can you see any hurdles that need to be overcome before running the system under mod_python environment?
Doest mod_python allow a script to be run as root? If so, I agree that mod_python would be much faster than the current python-process-per-request scheme. If not, that's a major hurdle for those who run tmda-cgi in system-wide mode. I suppose it wouldn't be super-difficult to make a mod_python wrapper as an alternative to the C wrapper, at least for people not running in system-wide mode. If you'd like to do this, I'll happily add it to the codebase. All it really has to do is set up the environment like tmda-cgi.c does, then run tmda-cgi.py passing it whatever query string the browser may give. I may look at this myself, but I don't know when that would be :)
-- Jim Ramsay
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
