|
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>
<Files "test2.py">
PythonHandler test2
</Files>
<Files "test3.py">
PythonHandler test3
</Files>
<Files "test4.py">
PythonHandler test4
</Files>
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
|