Hi Wong,

You can have : in the password but not in the userID, see RFC2617:

userid      = *<TEXT excluding ":">
password    = *TEXT

So by using an encoding hack, you are of course no longer including a : in the 
userID

Hope that makes sense.

Matt
Sent from my BlackBerry® wireless device

-----Original Message-----
From: "Wong Kok Meng-a17866" <kokmeng.w...@motorola.com>

Date: Thu, 13 Aug 2009 13:59:44 
To: <users@httpd.apache.org>
Subject: [us...@httpd] How to configure a username with colon?

Hi,

I am using Apache 2.0 webserver that comes with Fedora. I enabled HTTP
digest authentication on my webserver by following the steps in
http://httpd.apache.org/docs/2.0/mod/mod_auth.html. It works well with
username without colon. If I have a colon in the username, it doesn't
work. I think the reason is because colons are used as delimiter in the
user file. I tried to percent encode but it still doesn't work.

Is there a way I can have ':' (colon) in my username? Please help. Thank
you very much.

Regards,
Kok Meng

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to