How to put rewrite rules for multiple plone instances

Igor Sysoev is at rambler-co.ru
Fri Jul 31 13:23:36 MSD 2009


On Fri, Jul 31, 2009 at 09:55:28AM +0200, Mahiti Support wrote:

> Hi,
> Mahiti Support wrote:
> > 
> > Hi Igor,
> > 
> > Then what is it for
> > RewriteRule ^/(.*) 
> > http://127.0.0.1:8050/VirtualHostBase/http/%{HTTP_HOST}:80/live/automiddleeast/VirtualHostRoot/$1 
> > [L,P]
> > 
> > Thanks
> > Vishnu
> 
> What is the rewrite rule in nginx for the mentioned apache one?

As it had been already said:

    location / {
        proxy_pass
http://127.0.0.1:8050/VirtualHostBase/http/$host:80/live/automiddleeast/VirtualHostRoot$request_uri;
    }


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list