You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Richard Davies <ri...@daviesmail.org> on 2012/05/26 18:48:26 UTC
[users@httpd] REMOTE_USER in a "RewriteCond expr" test with v2.4
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