From: Bradley Giesbrecht <pixi...@macports.org>
>> I did a 'find / -name 'apachectl' and the /usr/sbin is the only instance. Is 
>> there a way to get macports to refresh the installation?
> 
> You can deactivate apache2, then activate it again:
> sudo port deactivate apache2
> sudo port activate apache2
> 
> First, would you mind checking the port contents though? Surely it's part of 
> the package, perhaps named apache2ctl?
> port contents apache2

It is named apachectl and /opt/local/apache2/bin needs to be in PATH _BEFORE_ 
/usr/sbin if you don't want to specify the full path to MacPorts apache2 
apachectl:

$ echo $PATH
/opt/local/apache2/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
$ which apachectl
/opt/local/apache2/bin/apachectl
$ port contents apache2 | grep /bin/
/opt/local/apache2/bin/ab
/opt/local/apache2/bin/apachectl
/opt/local/apache2/bin/apxs
/opt/local/apache2/bin/checkgid
/opt/local/apache2/bin/dbmmanage
/opt/local/apache2/bin/envvars-std
/opt/local/apache2/bin/htcacheclean
/opt/local/apache2/bin/htdbm
/opt/local/apache2/bin/htdigest
/opt/local/apache2/bin/htpasswd
/opt/local/apache2/bin/httpd
/opt/local/apache2/bin/httxt2dbm
/opt/local/apache2/bin/logresolve
/opt/local/apache2/bin/rotatelogs


Regards,
Bradley Giesbrecht (pixilla)


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to