[mod_python] strange behavior of mod-python

Manera, Villiam vmanera at manord.com
Thu Oct 17 18:40:17 EST 2002


I'm currently use mod-python 2.7.6 on apache 1.3.26 - windows 2000 with
python 2.2
apache config:
.....
    ScriptAlias /comm/ "E:/script/cgi/comm/"
    ScriptAlias /tecnico/ "E:/script/cgi/tecnico/"
....
<Directory "E:/script/cgi/comm">
        Order Deny,Allow
        Deny from all
        Allow from .....
       ...
    	AddHandler python-program .py
    	PythonHandler mod_python.publisher
	PythonPath "sys.path+['c:/program
files/python22/lib/site-packages/mdnlib', 'c:/program
files/python22/lib/site-packages/HTMLgen','E:/script/cgi/comm']"
    	PythonDebug on
    </Directory>

----------------------------------------------------
all work fine, but sometimes (today 4 time) when a url is typed:
http://sviluppo.manord.com/comm/comm_ocordiu0.py/main?....

I have this behavior from apache:
HTTP 404 - File non trovato (not found)
Internet Explorer 
but the program is still in place, and the only way to force apache to found
the program is restart the apache services,
or make a copy of comm_ocordiu0 in comm_ocordiu1 and then call this one,
but....



this is not a real problem in developement web server, but  today it
happened 4 time, in production is happened 2 time in one month,
and I become in panic.

Any advice here would be greatly appreciated.

Villiam 



More information about the Mod_python mailing list