[mod_python] publisher the requested URL /python/GetMonth.py was not found on this server.

Néstor Chacón Manzano nchacon at caton.es
Thu Nov 9 05:19:20 EST 2006

Hello, i' am newer in mod_python.
I try to probe this example:
    <title>Prueba mod_python</title>
    <form method='POST' action='python/getMonth'>
      <br />
      Selecciona el mes: <br />
      <select name='month'>
        <option value='1'>Enero</option>
        <option value='2'>Febrero</option>
        <option value='3'>Marzo</option>
      <br />
      <input type='submit' value="Muestra el mes">

In /var/www/python/ i have the script getMonth.py

import calendar
from mod_python import apache
def getMonth(req,month):

My /etc/apache/apache2.conf have this entry:

<Directory /var/www/python>
        SetHandler mod_python 
        PythonHandler mod_python.publisher
        PythonDebug On

And the permisions of the files and directory are ugo+rx but when i probe this i get

"The requested URL /python/GetMonth.py was not found on this server."

Anyone idea?


More information about the Mod_python mailing list