httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Davies <rich...@daviesmail.org>
Subject [users@httpd] REMOTE_USER in a "RewriteCond expr" test with v2.4
Date Sat, 26 May 2012 16:48:26 GMT
Hi all,

Apache 2.4 introduces ap_expr syntax for complex tests in "RewriteCond expr"

I'm trying to write such a test which uses %{REMOTE_USER}.

However, the %{LA-U:REMOTE_USER} look-ahead syntax needed to access this
variable in a per-server context doesn't seem to work inside an ap_expr.

Can anyone help me understand how to test REMOTE_USER in a "RewriteCond
expr" test?

Thanks,

Richard.

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


Mime
View raw message