Koozali.org: home of the SME Server

phpldapadmin and phpmyadmin-multiuser

Offline timn

  • *
  • 62
  • +0/-0
    • Nash CDL
phpldapadmin and phpmyadmin-multiuser
« on: September 30, 2006, 12:21:12 AM »
I have installed smeserver-phpldapadmin-09.7.2-0 and smeserver-phpmyadmin-multiser-2.0-3 on a clean install of SME7.0.

For both of these contribs I am able to access the web pages //servername/phpldapadmin and //servername/myadmin from the internet, albeit only through https. phpldapdmin does require a user/password authentication first, but even so I wasn't happy about access outside of the local network.

I have thus amended S86PhpldapadminAlias to allow from 127.0.0.1 192.168.1.0/255.255.255.0 instead of all.

I have done the same for S86PhpmyadminmultiAlias and also added
AuthName "phpMyAdmin"
AuthType Basic
AuthExternal pwauth
require user admin

Finally ran expand-template /etc/httpd/conf/http.conf followed by /etc/rc7.d/S86httpd-admin restart and /etc/rc7.d/S86httpd-e-smith restart.

All now seems well. Accessing from local net requires admin login via https. Haven't been able to try external yet though.

This is all relatively new to me but I am picking it up. Can someone confirm the above is correct and if so perhaps the contribs need amending.