How to put rewrite rules for multiple plone instances

Mahiti Support lists at ruby-forum.com
Wed Jul 1 16:18:05 MSD 2009


Igor Sysoev wrote:
> On Wed, Jan 28, 2009 at 03:56:53PM +0530, Vishnu Kumar D R wrote:
> 
>> Hi Igor,
>> 
>> Let me make it to the point
>> 
>> whats the nginx equivalent for the statement in apache2?
>> RewriteRule ^/(.*)
>> http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/$1 [L,P]
> 
> location / {
>     proxy_pass 
> http://127.0.0.1:8080/VirtualHostBase/http/$host:80$request_uri;
> }

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
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list