[mod_python] (no subject)

ryan luna ryan_gm at sbcglobal.net
Tue Jul 17 23:35:15 EDT 2007


You mean putting those lines to the httpd.conf and running the mpinfo.py?
If so this is what i get
Traceback (most recent call last):
  File "C:\Scripts\mptest.py", line 1, in <module>
    from mod_python import apache
  File "C:\Python25\Lib\site-packages\mod_python\apache.py", line 30, in <module>
    import _apache
ImportError: No module named _apache

Graham Dumpleton <graham.dumpleton at gmail.com> wrote: What happens if you use add this configuration:

  
  SetHandler mod_python
  PythonHandler mod_python.testhandler
  

Then access '/mpinfo'.

Do you get lots of mod_python debug info?

Graham.

On 18/07/07, ryan luna  wrote:
> I just tried that and theres no change.
> The fact that im using WAMP instead of straight up Apache wouldn't have
> anything to do with it would it?
>
> Graham Dumpleton  wrote:
>  Hmmm, you never mentioned you were on a Windows box.
>
> Did you try what was previously suggested of putting the mod_python
> configuration stuff in an appropriate Directory directive in your main
> Apache configuration file?
>
>
> PythonHandler mptest
> AddHandler mod_python .py
> PythonDebug On
>
>
> Graham
>
> On 18/07/07, ryan luna wrote:
> > Im running the latest python version, mod_python 3.3.1, and latest Apache.
> > Heres my apache config file
> > http://www.megaupload.com/?d=OKNGKO7Q
> > Still having trouble figuring out why apache still shows the source code
> of
> > .py files instead of the code output.
> >
> > _______________________________________________
> > Mod_python mailing list
> > Mod_python at modpython.org
> > http://mailman.modpython.org/mailman/listinfo/mod_python
> >
> >
>
>

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


More information about the Mod_python mailing list