httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Davies <>
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?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message