David Jackson
davidj411 at gmail.com
Tue Dec 23 14:13:03 EST 2008
if using this config: <...snipped> SetHandler mod_python PythonHandler mod_python.publisher PythonDebug On </Directory> do i always need to call the function in the URL? for example, testscript.py has a function called "writename". must i call testscript.py using http://localhost/pycgi/testscript.py/writename or could i add something to the contents of the file like you can when testing a script from command line like this: if __name__=="__main__": writeback(names) basically, i am trying to avoid putting the function name into the URL. also, i noticed that the newest version of mod_python *ONLY* supports python 2.5.0. i had errors with 2.5.2 and would not install with python 2.6. thanks David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20081223/7afe658f/attachment.html
|