[mod_python] creating httpd.conf on the file with python

Graham Dumpleton grahamd at dscpl.com.au
Wed Jun 29 20:58:12 EDT 2005


Matthew Nuzum wrote ..
> I'd like to add some brain power to my apache httpd.conf file. You can
> do this with mod_perl (see attached below), but since python is better
> than perl, I'd prefer to do it in python. Is this possible?

Sorry, you are out of luck. No way of embedding Python code in the
actual httpd.conf so as to affect the configuration itself.

At least, not unless there is some magic feature I don't know about. :-)


More information about the Mod_python mailing list