I'm attempting to configure phpLDAPadmin and when I ask for this URL, http://archaxis.net/phpldapadmin/index.php, the following error is displayed in the browser:
If the pointer in the /www/phpLDAPadmin/config/config.php file
. . .is changed to
. . .then
will be displayed.
Can someone tell me what this means and/or what to do to correct the problem?
Where should the key be predefined?
I've configured the following (per the suggestion) in the /www/phpLDAPadmin/config/config.php file:
but the log file is not created, nor are there any entries in the http server error log.
The following directives have been added to the httpd.conf file:
Code:
Function error called incorrectly [ERROR: Setting a key [[B]A[/B]rchaxis] that isnt predefined.]
Code:
$servers->setValue('[B]A[/B]rchaxis','net','OpenLDAP Server');
Code:
$servers->setValue('[B]X[/B]rchaxis','net','OpenLDAP Server');
Code:
Function error called incorrectly [ERROR: Setting a key [[B]X[/B]rchaxis] that isnt predefined.]
Can someone tell me what this means and/or what to do to correct the problem?
Where should the key be predefined?
I've configured the following (per the suggestion) in the /www/phpLDAPadmin/config/config.php file:
Code:
/* If you are asked to put PLA in debug mode, this is how you do it: */
$config->custom->debug['level'] = 255;
$config->custom->debug['syslog'] = true;
$config->custom->debug['file'] = '/var/log/pla_debug.log';
# $config->custom->debug['file'] = '/tmp/pla_debug.log';
The following directives have been added to the httpd.conf file:
Code:
Alias /phpldapadmin/ "/usr/local/www/phpldapadmin/htdocs/"
<Directory "/usr/local/www/phpldapadmin/htdocs">
Options none
AllowOverride none
Order Deny,Allow
Deny from all
Allow from 192.168.1 .archaxis.net
DirectoryIndex index.php
</Directory>