[mod_python] questions about mod_python publisher

Terry MacDonald terry.macdonald at dsl.pipex.com
Wed May 19 19:12:23 EDT 2004

Some good questions especially...

3. With publisher, is it possible to hide the ".py" suffix?

I've been trying for an answer to that for a while.  The suggestion is
that one uses SetHandler but I'll be %^&(* if I can get it to work
properly. AddHandler (with Directorys) works fine.

If anyone out there is using the publisher handler and SetHandler to
avoid having .py extensions and it works! could they publish the
pertinent configuration data please (pretty please!). I tend not to use
.htaccess files and prefer the main config file for setting these things
up - if that helps.

On Wed, 2004-05-19 at 14:58, David Geller wrote:
> Hi,
> I have been using the publisher handler for development purposes (after 
> having used the more general handler paradigm previously), and am 
> considering deployment..
> Some questions:
> 1. Is the publisher suitable for public access, in terms of security, etc.?
> 2. With the publisher, can you store your python programs outside the 
> document root? (I couldn't figure out a way for this)
> 3. With publisher, is it possible to hide the ".py" suffix?
> 4. I guess I would like to know what the publisher is really good for - 
> it is convenient, but is it just better to code your own handler by hand?
> Thanks in advance!
> David
Registered Linux User # 311806

More information about the Mod_python mailing list