On Tue, Mar 16, 2010 at 10:43 PM, pantao <pant@xxxxxxx> wrote: > Hi,all > > I use apache2.2.6 and SVN1.4.5 on Chinese version of WINDOWS XP platform and ,and > try to use ldap_module and authnz_ldap_module as authentication method . But I found that the > error log of auth_ldap module in error_log file is shown with hex format. I try translate it as > UTF-8 code, and it seems (not very sure) that the error message is not utf-8. > > [Thu Oct 15 15:11:50 2009] [warn] [client 127.0.0.1] [9424] auth_ldap authenticate: user pant authentication failed; URI /bill/test/test/ [ldap_search_ext_s() for user failed][\xb2\xd9\xd7\xf7\xb4\xed\xce\xf3] > [Thu Oct 15 15:12:38 2009] [warn] [client 127.0.0.1] [9424] auth_ldap authenticate: user pant authentication failed; URI /bill/test/ [ldap_search_ext_s() for user failed][\xb2\xd9\xd7\xf7\xb4\xed\xce\xf3] > > I would like to know how can I let the ldap module out the Chinese or English error message so > I can understand it. And I wouldalso like to know how the ldap module output different error > message for different language,many thanks. The core error log code is formatting the bytes in hex format. To disable that, in case that causes the data to be formatted properly, define AP_UNSAFE_ERROR_LOG_UNESCAPED and rebuild Apache httpd. There's no run-time configuration of this behavior. --------------------------------------------------------------------- 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