reopen 399567 thanks * 2006-11-22 04:41, Loye Young wrote: > The problem with the way you have it set up now is that upon installation > of phpLDAPadmin, it becomes the default page for the host instead of > whatever the sysadmin wanted to be the default page. Conf.d is parsed > before sites-enabled (which includes the directives for the default page), > so the default is no longer the default. In my case, it brought down my > employer's website in favor of the LDAP web configuration site. That didn't > go over so well with the boss.
Can I ask how is it possible that this snippet: <IfModule mod_alias.c> Alias /phpldapadmin /usr/share/phpldapadmin/htdocs </IfModule> can replace your website with a phpLDAPadmin installation? It seems to be impossible, as it should only "mount" the software under /phpldapadmin. > When apache2.conf is loaded, it first includes ../conf.d to pick up > miscellaneous server configurations and then includes ../sites-enable to > pick up configurations relating to particular "sites". ("Sites" in this > context doesn't just refer to vhosts or separate domains. It refers to any > self-contained URL and related directory structure like the phpLDAPadmin > page.) I'll have a look at the relevant documentation, but after a long e-mail as yours I would think that you have good reasons to insist on this issue. :) > Alias and Directory directives are precisely what should go into the > ../sites-available directory. They are the principal directives (in > addition to VirtualHost) that control virtual hosting and directory > structure rewriting rules. The apache conf for phpldapadmin contains > exactly the same sort of information as in > /etc/apache2/sites-available/default. (I note, by the way, that the > phpLDAPadmin apache.conf file also includes vhost information, which would > clearly part of sites-available.) This has just a endeavour: phpldapadmin won't be accessible and enabled by default, and the system administrator will have to manually run a2ensite in order to enable the alias directive in his configuration. > Thanks again for your excellent work on this package. Thanks for your kind email, Fabio -- Fabio Tranchitella http://www.kobold.it Free Software Developer and Consultant http://www.tranchitella.it _____________________________________________________________________ 1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564
signature.asc
Description: Digital signature