I already have a .htaccess with this entries. For convenience, here is a copy&paste of the .htaccess in py/wikipy
Code:
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On
This is from my httpd.conf
Code:
<Directory "C:/data/apache/mod_python">
AllowOverride All
</Directory>
#############
<Directory E:/apache/htdocs/>
AddHandler python-program .py
PythonHandler helloworld
Order allow,deny
Allow from all
</Directory>
<Directory "C:/data/apache/mod_python/py">
AddHandler python-program .py
PythonHandler helloworld
Order allow,deny
Allow from all
</Directory>
This is what http://127.0.0.1/mod_python/py/wikipy/wikipy.py/doIt prints:
Code:
Not Found
The requested URL /mod_python/py/wikipy/wikipy.py/doIt was not found on this server.
Apache/2.0.52 (symbian_s60) DAV/2 mod_python/3.1.3 Python/2.2.2 Server at x.x.x.x Port 80