How to rewrite these

Igor Sysoev igor at sysoev.ru
Fri Feb 19 13:06:05 MSK 2010


On Fri, Feb 19, 2010 at 05:02:44PM +0700, Glen Lumanau wrote:

> No i'm not proxying.. 

What do you use ?

> Because all I need is to rewrite arround 50 that category

Could you show some examples ?

> -----Original Message-----
> From: Igor Sysoev [mailto:igor at sysoev.ru] 
> Sent: 19 Februari 2010 16:10
> To: nginx at nginx.org
> Subject: Re: How to rewrite these
> 
> On Fri, Feb 19, 2010 at 03:11:09PM +0700, Glen Lumanau wrote:
> 
> > Hi Nginx,
> > 
> > I'm migrating my website into onother application. I need to rewrite some
> of
> > these
> > 
> > http://www.mydomain.com/category/subcategory
> > 
> > into 
> > 
> > http://www.mydomain.com/
> > <http://www.mydomain.com/application/category/subcategory>
> > 
> > I need to insert /application before my category name
> 
> If you use proxying, then:
> 
>     location / {
>         proxy_pass   http://backend/application/;
>     }
> 
> 
> -- 
> Igor Sysoev
> http://sysoev.ru/en/
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
> 
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx

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



More information about the nginx mailing list