I'm currently using mod-python and mysqldb, and I'm having a tonne of issues. Code that works from the command line barfs with a tonne of invalid type messages when executed through mod_python.
They're cryptic errors, to say the least, and I'm curious as to whether or not PyApache will solve this for me? It seems to run more natively, so it should more closely resemble what's at the command line, correct?
Also, the concern I have is that I'm running Apache 2.0.48.. How is the support for that currently? I read the INSTALL notes, and I'm not 1oo% sure that this will work for me as much as I'd like.. Does anyone have any supportive words for me? :)
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-03-18
PyApache is a lot less complicated than mod_python, which is useful if you just want native Python execution (or to avoid mod_python).
I'm running Fedora Core 1 on an i686 system and have PyApache running under Apache 2.0.48/Python 2.3 and also under Apache 1.3.29/Python 2.3.
If you want to give it a spin, use:
ftp://ftp.bel-epa.com/pub/pyapache/PyApache-4.27.tar.gz
Unpack it, run "make -f Makefile.apache2". I think there's one warning from the compiler which I ignored. The module will be in ./libs/mod_pyapache.so, copy it into your Apache modules directory.
The README contains instructions for editing your httpd.conf file (LoadModule and a few Py* directives).
Do let me know how you get on - you can contact me on:
gjh-dated-1080211256.c9b2b7@bel-epa.com
(address will expire in 7 days).
Hope this helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm currently using mod-python and mysqldb, and I'm having a tonne of issues. Code that works from the command line barfs with a tonne of invalid type messages when executed through mod_python.
They're cryptic errors, to say the least, and I'm curious as to whether or not PyApache will solve this for me? It seems to run more natively, so it should more closely resemble what's at the command line, correct?
Also, the concern I have is that I'm running Apache 2.0.48.. How is the support for that currently? I read the INSTALL notes, and I'm not 1oo% sure that this will work for me as much as I'd like.. Does anyone have any supportive words for me? :)
Thanks!
PyApache is a lot less complicated than mod_python, which is useful if you just want native Python execution (or to avoid mod_python).
I'm running Fedora Core 1 on an i686 system and have PyApache running under Apache 2.0.48/Python 2.3 and also under Apache 1.3.29/Python 2.3.
If you want to give it a spin, use:
ftp://ftp.bel-epa.com/pub/pyapache/PyApache-4.27.tar.gz
Unpack it, run "make -f Makefile.apache2". I think there's one warning from the compiler which I ignored. The module will be in ./libs/mod_pyapache.so, copy it into your Apache modules directory.
The README contains instructions for editing your httpd.conf file (LoadModule and a few Py* directives).
Do let me know how you get on - you can contact me on:
gjh-dated-1080211256.c9b2b7@bel-epa.com
(address will expire in 7 days).
Hope this helps.