[mod_python] Re: URL without .py wont work

Evert Carton evert_carton at yahoo.co.uk
Thu May 6 22:46:26 EST 2004


Try "SetHandler".
It allows you to specify a handler for a directory
regardles of extension.
Check out Apache-documentation for details

Evert 

 --- Stephane Bortzmeyer <bortzmeyer at nic.fr> wrote: >
On Wed, May 05, 2004 at 12:25:08PM -0400,
>  SAiello at Jentoo.com <SAiello at jentoo.com> wrote 
>  a message of 23 lines which said:
> 
> > I have set my apache.conf to:
> > AddHandler mod_python .py
> > PythonHandler mod_python.publisher
> > PythonDebug On
> 
> I believe you have to add Apache's option MultiViews
> otherwise Apache
> tries to find the file before mod_python.publisher
> runs.
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
>
http://mailman.modpython.org/mailman/listinfo/mod_python 


	
	
		
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html


More information about the Mod_python mailing list