Apache2 un Ubuntu 7.10
déc 9th, 2007 by Prune
As usual in any new linux distro, Apache is not installed the same way as the previous. on ubuntu, you’ll find a bunch of files and directory in /etc/apache2.
I ended searching on “how can I add the LDAP authentication module, authzn_ldap. This module is in the mods-available directory.
One solution seems to link it to mods-enabled directory.
Or you can use the (new to me) utility ‘a2enmod’, which stand for Apache2 Enable Module. you also have a2dismod to remove a module or a2dissite to remove a site (if your site conf is in the /etc/apache2/site-available directory.
I haven’t been waiting for Ubuntu to offer that as I’m doing such a thing for almost 8 years now. Moreover, and this is something I would like to release one day, all my apache vhost conf is stored in Ldap, and managed through a set of PHP pages. I just have to change the conf from the web interface and clic “dump conf”, and every modified entry is dumped to the right file, and the link is made or removed automaticaly if needed.
Wait for it…

