Eric Covener wrote:
apparently n/a to OP problem, but no. That would capture the domain, if there is one. What we want is the user that follows the \, even if by some accident there is no domain ahead of it.On Tue, Sep 16, 2008 at 4:11 PM, André Warnier <aw@xxxxxxxxxx> wrote:RequestHeader edit REMOTE_USER ^(?:[^\\]+\\)(.+)$ $1 the regexp should mean (if really it's a perl regexp) : - for the first () group, match but do not capture - match (potentially) from the beginning, anything before the backslash and the backslash itself, if any such things. - then match whatever is left, and capture it as $1n/a to OP problem, but I think the regex can be shrunk to ([^\\]+)
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx