[mod_python] suEXEC and mod_python ( cgihandler )

Randall Randall randall at randallsquared.com
Mon Jan 8 01:33:58 EST 2007


Hi, all.

I'm writing some CGI in Python, and one of the things I'd like
to do is make it runnable under either CGI or mod_python.  That
works fine in general.

Given that my CGI scripts need to open files for writing, I use
suEXEC with Apache 1.3 to run the Python scripts as the proper
user.

Can someone point me at either a URL (or search terms) for
making mod_python work with suEXEC, or some alternative method
for enforcing user/group on scripts run with mod_python's
cgihandler?

Thanks in advance!

--
Randall Randall <randall at randallsquared.com>
"If you are trying to produce a commercial product in
  a timely and cost efficient way, it is not good to have
  somebody's PhD research on your critical path." -- Chip Morningstar




More information about the Mod_python mailing list