[mod_python] How to hide implementation specifics in URIs/URLs?

Matthew England mengland at mengland.net
Mon Jan 7 22:59:25 EST 2002


At 1/7/2002 10:17 PM, Mike Bell wrote:

>How about
>
><Location /tmp/mptest>
>   Sethandler python-program
>   PythonHandler mptest
></Location>
>
>?

Unless I'm missing something (and again remember i'm a newbie), this 
doesn't help me for other files in other directories.

I basically want any python script to be stripped of its .py extension in 
the URI that uses it.  Otherwise, as i see it, a web-server developer has 
to make an entry in httpd.conf for *every* .py file.  ouch.

-Matt




More information about the Mod_python mailing list