Re: domain redirects: do I want to write a middleware

2007-09-07 Thread Max Ischenko
On 9/7/07, Yury Yurevich <[EMAIL PROTECTED]> wrote: > > > On Fri, 7 Sep 2007 11:11:41 +0300, Max wrote: > > > P.S.: I used to have this logic with Apache mod_rewrite rules but they > > stopped working once I setup Apache to proxy all requests to Pylons. > Maybe WSGIRewrite (http://cheeseshop.python

Re: domain redirects: do I want to write a middleware

2007-09-07 Thread Yury Yurevich
On Fri, 7 Sep 2007 11:11:41 +0300, Max wrote: > P.S.: I used to have this logic with Apache mod_rewrite rules but they > stopped working once I setup Apache to proxy all requests to Pylons. Maybe WSGIRewrite (http://cheeseshop.python.org/pypi/WSGIRewrite) will help you. -- wbr, Yury Yurevich ht

domain redirects: do I want to write a middleware

2007-09-07 Thread Max Ischenko
Hello, I want my Pylons application to redirect users that arrive at developers.org.ua host to a corresponding page at www.developers.org.uadomain (note the www prefix). On a first glance, this task is ideal for a middleware piece, so that application itself does not have to deal with it. Is it r