Re: mod_python import failure on FreeBSD AMD64

Graham Dumpleton <[email protected]> Wed, 5 May 2010 13:17:07 +1000
Newsgroups gmane.comp.python.mod_python
Message-ID <[email protected]>
On 5 May 2010 13:13, Surly The Clown <[email protected]> wrote:
>> > Any more ideas?
>>
>> Don't use mod_python if you don't have to.
>>
>> What are you wanting to host using it?
>
>
> Big(ish) media files, and I'm wanting to hook into Apache so that I can
> control access to them with custom logic. As far as I've been able to
> determine, this is something that wsgi/fastcgi can't really do, unless you
> use URL rewriting to force the requests to go through a script. Even then,
> it's suboptimal as the file would then be piped through a script instead of
> handled directly by Apache. mod_python was pretty much exactly what I need.


Depends exactly on what you want to do. See:

  http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms

Graham