<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-9" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for answers. I am confused about apache, I thought that
%{HTTP_USER_AGENT} != %{<a class="moz-txt-link-freetext" href="HTTP:User-Agent">HTTP:User-Agent</a>} and so on. Also I know that
there is a wiki and read all of them of course :) Just check
<a class="moz-txt-link-freetext" href="http://www.anilcetin.com/convert-apache-htaccess-to-nginx/">http://www.anilcetin.com/convert-apache-htaccess-to-nginx/</a> I did this
yesterday and now I am trying to make it more stable. <br>
<br>
Is'nt it possible to do things like below without mod_parsed_vars?<br>
<br>
if($env_something != "1"){<br>
setenv something=1;<br>
}<br>
<br>
<br>
<br>
<br>
张立冰 yazmış:
<blockquote
cite="mid:315b76b00903120635s8c0aabfw8bfd237d48e2cd3@mail.gmail.com"
type="cite"> <a moz-do-not-send="true"
href="http://hg.mperillo.ath.cx/nginx/mod_parsed_vars">mod_parsed_vars</a>
did this job. Other else modify the http access key module. :)<br>
<br>
<div class="gmail_quote">On Thu, Mar 12, 2009 at 9:27 PM, Maxim
Dounin <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:mdounin@mdounin.ru">mdounin@mdounin.ru</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello!<br>
<br>
On Thu, Mar 12, 2009 at 02:46:51PM +0200, Anıl Çetin wrote:<br>
<br>
> Hi, I am trying to get environment variables (any) and http
headers, is<br>
> there a specific way to get them in config? As an example, I need
(as<br>
> apache) %{<a class="moz-txt-link-freetext" href="HTTP:Authorization">HTTP:Authorization</a>} , what is the corresponding variable
in<br>
> nginx for this?<br>
<br>
<a moz-do-not-send="true"
href="http://www.nginx-community.org/NginxHttpCoreModule#Variables"
target="_blank">http://www.nginx-community.org/NginxHttpCoreModule#Variables</a><br>
<br>
$http_authorization<br>
<font color="#888888"><br>
Maxim Dounin<br>
<br>
</font></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
The time you enjoy wasting is not wasted time!<br>
</blockquote>
<br>
</body>
</html>