[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-docs
Subject:    Re: Typo in mod_rewrite doc?
From:       André Malo <nd () perlig ! de>
Date:       2004-03-22 18:12:54
Message-ID: 20040322191254.04d01817 () parker
[Download RAW message or body]

* Joshua Slive <joshua@slive.ca> wrote:

> 
> On Mon, 22 Mar 2004, Sascha Kersken wrote:
> 
> > Hi there,
> >
> > the "Special Notes" on variables in the description of RewriteCond
> > contains the examples %{HTTP:Proxy-Connection} and %{LA-U:REMOTE_USER}. Is
> > this correct? Doesn't it have to be either %{HTTP:Proxy-Connection} and
> > %{LA-U:Remote-User}, or %{HTTP:PROXY_CONNECTION} and %{LA-U:REMOTE_USER}?
> > Or do HTTP Headers and look-ahead-variables really have a different
> > format?
> 
> Proxy-Connection is an HTTP header, while REMOTE_USER is an env variable,
> so the capitalization is standard and correct.  I'm not really sure if
> mod_rewrite is case-sensitive in this area or not, however.

depends :)
It's normally case insensitive, since it uses apr_tables. There's just one
exception: If you request an environment variable which is not available
within the server structures, but in the inherited system environment. The
fallback getenv() call is case sensitive (at least on *x).

nd

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic