Eric Covener wrote:
On Tue, Sep 16, 2008 at 4:11 PM, André Warnier <[EMAIL PROTECTED]> 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 $1

n/a to OP problem, but I think the regex can be shrunk to  ([^\\]+)

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.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to