Hi, I am trying to install an openldap with the phpldapadmin interface.
At the moment y installed open ldap following the “LDAP Authentication“ tutorial (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/ldap-auth/ldap.html). I configured the ldap.conf, I do not want to use TSL.
Once openldap is installed and running I started with the phpldapadmin installation:
After the installation I added the line
to the /etc/rc.conf to enable the apache. Then I configured the apache:
I added the line
Then I restarted the apache:
When I enter the IP address of my server on the firefox I saw the following:
(see attached file)
I checked the httpd.conf file and the php module is loaded:
I do not understand why I am seeing the phpldapadmin page like an ftp.
Can you please help me?
Thanks in advance!
At the moment y installed open ldap following the “LDAP Authentication“ tutorial (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/ldap-auth/ldap.html). I configured the ldap.conf, I do not want to use TSL.
Once openldap is installed and running I started with the phpldapadmin installation:
Code:
cd /usr/ports/net/phpldapadmin
make install clean
After the installation I added the line
Code:
apache2_enable="YES"
Code:
vi /usr/local/etc/apache2/httpd.conf
I added the line
Code:
DocumentRoot "/usr/local/www/phpldapadmin"
Then I restarted the apache:
Code:
/usr/local/etc/rc.d/apache2 restart
Performing sanity check on apache2 configuration:
Syntax OK
Stopping apache2.
Waiting for PIDS: 776.
Performing sanity check on apache2 configuration:
Syntax OK
When I enter the IP address of my server on the firefox I saw the following:
(see attached file)
I checked the httpd.conf file and the php module is loaded:
Code:
LoadModule php5_module libexec/apache2/libphp5.so
I do not understand why I am seeing the phpldapadmin page like an ftp.
Can you please help me?
Thanks in advance!