[mod_python] PublisherHandler

Alexiev Nikolay alexiev at activesolutions.bg
Fri Oct 3 16:57:22 EST 2003


It's work fine under linux, but still have the same problem under windows.

----- Original Message ----- 
From: "Gregory (Grisha) Trubetskoy" <grisha at modpython.org>
To: "Nikolay Alexiev" <alexiev at activesolutions.bg>
Cc: <mod_python at modpython.org>
Sent: Thursday, October 02, 2003 9:43 PM
Subject: Re: [mod_python] PublisherHandler


>
>
> On Thu, 2 Oct 2003, Nikolay Alexiev wrote:
>
> > I'm using PublisherHandler for my project. This is my  .htaccess file
> >
> >     AddHandler python-program .py
> >     SetHandler python-program
>
> You don't need both AddHandler and SetHandler, SetHandler alone will cover
> every type of file.
>
> >     PythonHandler mod_python.publisher
> >     PythonDebug On
> >
> > But now I can't load pictures from this folder and from its subfolder.
Can I
> > do something or the only way is to move images in a folder that is a
level
> > above?
>
> You can create a subdirectory and add "SetHandler None" which reverses
> previous SetHandler's:
>
> http://httpd.apache.org/docs-2.0/mod/core.html#sethandler
>
> HTH,
>
> Grisha



More information about the Mod_python mailing list