[Twisted-web] Twisted to proxy php out to apache?

Remi Cool mailinglists at smartology.nl
Thu May 25 03:59:52 CDT 2006

glyph at divmod.com wrote:

> On Wed, 24 May 2006 12:40:45 -0700, David Reid <dreid at dreid.org> wrote:
>> Remi Cool wrote:
>>>> Ok, I'm with you with that (I need to read more carefully) ... but
>>>> what
>>>> I would like to do, is pass all requests for files ending with .php
>>>> (and
>>>> maybe .js and .ccs) to be forwarded to another server. Forwarding
>>>> everything would make the transition from php to nevow a tad more
>>>> difficult.  Would this 'selective' proxying be possible?
>> Well unless you've specifically got long standing URLs to worry about
> David's explanation was correct, but I tend to expect long-standing
> URLs to continue to work.  With that in mind: Twisted's philosophy in
> this regard is to provide simple interfaces so that you can write your
> own "glue" resources criteria as you see fit.  Since I was bored and
> stuck in a train station while I was reading this message, here's a
> quick "left/right" switch for resources.  Toooootally untested, not
> even run.
Thanks for your (and David's) explenation ... I can work this out to a
'perfect' solution for my project.

- Remi -

More information about the Twisted-web mailing list