[mod_python] Re: Just displays

Sarel J. Botha sjbotha at email.com
Thu Jun 15 21:54:59 EST 2000


On Wed, Jun 14, 2000 at 07:08:40PM +0200, I wrote:
> I'm having a bit of a problem with mod_python. The module gets loaded (I
> can see in the logs), but when I access a .py file it just prints the
> source.

I still can't get it working.

I've got LoadModule python_module /usr/local/lib/apache/1.3/mod_python.so
in httpd.conf and the module loads, as I can see it in the logs:
[Thu Jun 15 21:40:52 2000] [notice] Apache/1.3.12 (Unix) Debian/GNU PHP/4.0RC1 mod_python/2.2 Python/1.5.2 configured -- resuming normal operations

I've got this in srm.conf:
  AddHandler python-program .py

It just prints the file, as if the AddHandler directive weren't there.

Thanks
-- 
------------------
Sarel Botha
sjbotha at email.com
------------------

99 little bugs in the code, 99 bugs in the code,
          fix one bug, compile it again...
          101 little bugs in the code....




More information about the Mod_python mailing list