[mod_python] mod_python gone pyc'ed on me!

marinus van aswegen mvanaswegen at gmail.com
Sat Mar 11 17:10:13 EST 2006

Somthing very strange just happened to me. I'm busy writing some additional
functions to call from the browser when all of a sudden I noticed that when
I requested my function ala https://localhost/cmd/index that my url was
rewritten in the error as https://localhost/cmd.pyc/index strange!
everything was working for all of a sudden I see .pyc in my www dir? I can't
get to my function, eek!

my httpd.conf is as follow

<Directory "/opt/www">
    # handle .py files
    AddHandler mod_python .py
    PythonHandler mod_python.publisher
    PythonDebug On

Apache/2.0.54 (Ubuntu) mod_auth_kerb/5.0-rc6 mod_python/3.1.3 Python/2.4.2
mod_ssl/2.0.54 OpenSSL/0.9.7g


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060312/28384946/attachment.html

More information about the Mod_python mailing list