[mod_python] some troubles with multiple applications in the one directory

stalker stalker at telecom.ozersk.ru
Sun Mar 12 17:04:50 EST 2006

this is the part of my .htaccess file

Options -Indexes
AddHandler mod_python .py
<Files "test1.py">
	PythonHandler test1
<Files "test2.py">
	PythonHandler test2
<Files "test3.py">
       PythonHandler test3
<Files "test4.py">
       PythonHandler test4
PythonDebug On

If i get http://localhost/dir/test1.py - normal running
if i get http://my_network_ip/dir/test1.py - i get the error

Mod_python error: "PythonHandler test1"
ImportError: No module named test1

how can i fix it?

p.s. apache 2.0.55, mod_python 3.2.8, python 2.4.2, windows 2003

More information about the Mod_python mailing list