[mod_python] [Q] Apache Configuration

YOON, Joo-Yung yjy-list-python at arbago.com
Sun Apr 14 13:04:56 EST 2002


Hi,
I followed all the directions written on the installation doc,
but can't see hello world when I do "http://localhost/test/mptest.py".
Just can see the program file contents itself.
Am I right to configure apache with --enable-module=so ?
And nothing else.

My environment:
  1. apache: 1.3.24
  2. python: 2.1.2

Here are what I did in the httpd.conf.
LoadModule python_module libexec/mod_python.so
<Directory "/test">
  AddHandler python-program .py
  PythonHandler mptest 
  PythonDebug On
</Directory>

Thanks in advance.
-- 
YOON, Joo-Yung / python
yjy-list-python at arbago.com
subscribe: mod_python-request at modpython.org 
unsubscribe: 



More information about the Mod_python mailing list