ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssi include, how to get original request uri


  • To: nginx-ru <nginx-ru@xxxxxxxxx>
  • Subject: Re: ssi include, how to get original request uri
  • From: Daniel Podolsky <onokonem@xxxxxxxxx>
  • Date: Fri, 18 Jan 2013 10:15:39 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=DtnZMnUXYnb4ptb45AOs5pHYq3jVCiCg4Zh1LclcOnk=; b=dF6OQmKfFVUKsYO/gDsiNyrFVpIJkXcZtOlilW0kZojO213u9Jx9EPY5NApdJ6P1/K Y/nUIMiyKr4fxy5GUX5mPNaYfsxFmrkwF5dFcZahfiNGxcc2AuvlogJf9StM3hbJ+n/2 MR9E+B4klu+cro9dBLDFP+7uC2IP/mTV/9HlEJ1RKcg9I4IZ2pek8xnBuWQA8QH6poXu pGlEeUB9xS/cTFkyA8DCM8OoEJO34YmsKXUKn1uRpr7sqZlDuEI2YC/qHstAcF5B6IHn 5L6H3r5LJDMyrnbjZ97U5u/pg8mZCyROwXXA4A3h1I5HfNgvnudL1eXM62afEwlQMJaf t6xg==
  • In-reply-to: <50F8F27E.9030601@amhost.net>
  • References: <CAKaHDOFapfHCPmG+Kg+T_gEhSfaazxuaZnaOtC3cgRjRQvnerQ@mail.gmail.com> <50F8F27E.9030601@amhost.net>

> в location c проксированием
> proxy_set_header X-URI $request_uri;
И правда:

$request_uri
This variable is equal to the *original* request URI as received from
the client including the args. It cannot be modified. Look at $uri for
the post-rewrite/altered URI. Does not include host name.

Спасибо!

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.