how many instances of c are there in:
q: 500 error when trying to access my site with ldap authentication solved
well i solved this problem. i configure my apache error log to debug level, and this way i can see that the error was my dn syntax (you can see it on error lines below) then i go to check the 000-default.conf file and i see that instead of dc=xxx y wrote cd=xxx. thanks for all the help that you give.
heres my problem.
i have an ubuntu 14.04 server with ldap server configured and i have another server with a web application that i use for develop de web application. this server is configured to authenticate on ldap server and it works fine, i can authenticate on ldap.
well my problem now is that i have to move the web app to another server, the real server where the app its going to work. the apache2 configuration (000.default.conf) is the same of the development server, and when i try to aunthenticate to ldap, it shows the user and password pop-up but when i press to accept, it shows a internal server error (500).
thanks for all possible solutions.
editing one more time. searching how to better configure my apache error log i finish get some lines with an error, here is the generated lines of the access try
[thu may 14 17:09:13.571921 2015] [authz_core:debug] [pid 18085] mod_authz_core.c(802): [client 172.20.20.58:2840] ah01626: authorization result of require valid-user : denied (no authenticated user yet)
[thu may 14 17:09:13.572018 2015] [authz_core:debug] [pid 18085] mod_authz_core.c(802): [client 172.20.20.58:2840] ah01626: authorization result of : denied (no authenticated user yet)
[thu may 14 17:09:17.093748 2015] [authz_core:debug] [pid 18085] mod_authz_core.c(802): [client 172.20.20.58:2840] ah01626: authorization result of require valid-user : denied (no authenticated user yet)
[thu may 14 17:09:17.093805 2015] [authz_core:debug] [pid 18085] mod_authz_core.c(802): [client 172.20.20.58:2840] ah01626: authorization result of : denied (no authenticated user yet)
[thu may 14 17:09:17.093917 2015] [authnz_ldap:debug] [pid 18085] mod_authnz_ldap.c(501): [client 172.20.20.58:2840] ah01691: auth_ldap authenticate: using url ldap://172.20.20.19:389/dc=gesac,dc=ldap?uid
[thu may 14 17:09:17.094814 2015] [ldap:debug] [pid 18085] util_ldap.c(372): ah01278: ldap: setting referrals to on.
[thu may 14 17:09:17.098442 2015] [authnz_ldap:info] [pid 18085] [client 172.20.20.58:2840] ah01695: auth_ldap authenticate: user rs authentication failed; uri /myweb/phpinfo.php [ldap: ldap_simple_bind() failed][invalid dn syntax]
[thu may 14 17:09:17.424790 2015] [authz_core:debug] [pid 18086] mod_authz_core.c(802): [client 172.20.20.58:2842] ah01626: authorization result of require all granted: granted
[thu may 14 17:09:17.424886 2015] [authz_core:debug] [pid 18086] mod_authz_core.c(802): [client 172.20.20.58:2842] ah01626: authorization result of : granted
here are the modules enabled on both server, are the same

*

*core_module (static)

*so_module (static)

*watchdog_module (static)

*http_module (static)

*log_config_module (static)

*logio_module (static)

*version_module (static)

*unixd_module (static)

*access_compat_module (shared)

*alias_module (shared)

*auth_basic_module (shared)

*authn_core_module (shared)

*authn_file_module (shared)

*authnz_ldap_module (shared)

*authz_core_module (shared)

*authz_groupfile_module (shared)

*authz_host_module (shared)

*authz_user_module (shared)

*autoindex_module (shared)

*cgi_module (shared)

*dir_module (shared)

*env_module (shared)

*filter_module (shared)

*ldap_module (shared)

*ldap_userdir_module (shared)

*mime_module (shared)

*mpm_prefork_module (shared)

*negotiation_module (shared)

*php5_module (shared)

*reqtimeout_module (shared)

*rewrite_module (shared)

*setenvif_module (shared)

*socache_shmcb_module (shared)

*ssl_module (shared)

*status_module (shared)


user
I found 89 "c"s in the provided passage.
assistant