Graham Dumpleton
graham.dumpleton at gmail.com
Tue May 4 23:17:07 EDT 2010
On 5 May 2010 13:13, Surly The Clown <surly_the_clown at hotmail.com> 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
|