Apache2 update question

Mark Duling mark.duling at biola.edu
Fri Apr 6 11:55:35 PDT 2007


Alex Kac <alex at webis.net> on Friday, April 6, 2007 at 10:46 AM -0800 wrote:
>So when I did the SVN with mod_dav_svn variant, it grabbed Apache2 which
>is what I wanted. However, I was not able to specify any variants I
>wanted for that. I probably should've grabbed apache2, but so far its
>worked fine. Well since I'm setting a brand spanking new server with
>LDAP, I decided I wanted to move my authentication to LDAP instead of dbm
>files.
>
>
>I've already completely configured my apache installation - its working.
>I don't want to screw it up :) How do I tell macports that I wish to
>update my apache2 config with the openldap variant in addition to
>whatever I have now?
>
>
>I've already checked the macports site on this and maybe i'm just missing
>terminology on this.

You'll have to uninstall and reinstall Apache using the variants to do
this because Apache compiles support for ldap and so it must be
recompiled, which means reinstalled.  You can use the -f force option
(sudo port -f uninstall apache2) so you don't have to remove dependencies
also.  But it is important to note that installing Apache2 with +openldap
requires installing apr-util with +openldap also.  So after uninstalling
Apache2, uninstall apr-util using -f if necessary (if port tells you other
stuff depends on it) and then "clean --all" on them and then reinstall
apr-util and apache using +openldap variants.  That will do it.

Mark




More information about the macports-users mailing list