Mailing List Archive

[Bug 68376] Feature: case-insensitive username match
https://bz.apache.org/bugzilla/show_bug.cgi?id=68376

--- Comment #1 from Yann Ylavic <ylavic.dev@gmail.com> ---
It looks like:
Require expr "%{REMOTE_USER} =~ /^joe$/i"
would work already?

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 68376] Feature: case-insensitive username match [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=68376

--- Comment #2 from Ed Avis <ed@membled.com> ---
Thanks, the regexp test does work. I believe a case-insensitive user match
directive would still be a cleaner alternative. After all, the current
'require user' could also be replaced by a regexp match, but it's common enough
to have its own syntax. I believe matching case-insensitively is also a common
requirement in mixed environments.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 68376] Feature: case-insensitive username match [ In reply to ]
https://bz.apache.org/bugzilla/show_bug.cgi?id=68376

--- Comment #3 from Christophe JAILLET <christophe.jaillet@wanadoo.fr> ---
Created attachment 39487
--> https://bz.apache.org/bugzilla/attachment.cgi?id=39487&action=edit
Add Require userNC

The attached path is compile-tested only.
userNC is for "user Non Case sensitive"

Can you give it a try?

If fine, I'll add doc and commit it.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org