salve a tutti,
sto cercando di utilizzare mod_python 2.7 con apache 1.3 ... sto "azzeccando",
come si dice dalle mie parti .... in
httpd.conf ho aggiunto
SetHandler mod_python
PythonHandler mod_python.publisher
PythonDebug On
e nella suddetta directory ho creato un file index.py
def index(req):
return "Hello"
come lo chiamo (con .py, index.py/index) lo chiamo, o mi esce il sorgente
o page not found ... il log:
[Thu Jan 11 16:44:06 2007] [error] [client
192.168.4.72] File does not exist: /usr/local/apache/www/prova/index.py/handler
[Thu Jan 11 16:44:09 2007] [error] [client
192.168.4.72] File does not exist: /usr/local/apache/www/prova/index
[Thu Jan 11 16:44:16 2007] [error] [client
192.168.4.72] File does not exist: /usr/local/apache/www/prova/index/index
[Thu Jan 11 16:44:21 2007] [error] [client
192.168.4.72] File does not exist: /usr/local/apache/www/prova/index.py/index
[Thu Jan 11 16:45:03 2007] [error] [client
192.168.4.71] File does not exist: /usr/local/apache/www/prova/
[Thu Jan 11 16:45:14 2007] [error] [client
192.168.4.71] File does not exist: /usr/local/apache/www/prova/index