<div dir="ltr"><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks Ryan.. i'm a bit stuck at present but have other tasks. Any help you can provide would be appreciated.<div class="HOEnZb"><div class="h5">
<br><br>On Friday, February 14, 2014, Ryan Schmidt <<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Feb 13, 2014, at 18:51, Nick Wharton wrote:<br>
<br>
> hmm.. "which apachectl" returns /usr/sbin/apachectl and it's not a softlink. I believe it's the OSX default server. So i uninstalled the mapserver/apache2 then:<br>
> sudo mv /usr/sbin/apachectl /usr/sbin/apachectl_original<br>
<br>
You should probably not modify Apple-provided software. But you’re right, /usr/sbin/apachectl is for Apple’s apache, so you won’t be using that if you’re interested in controlling MacPorts apache.<br>
<br>
<br>
> then<br>
><br>
> sudo port install mapserver +apache2<br>
><br>
> and run /opt/local/apache2/bin/apachectl start (after changing ServerName). This time the right apache starts and the logs are updated. If i enter <a href="http://localhost/cgi-bin/mapserv" target="_blank">http://localhost/cgi-bin/mapserv</a> it returns an error and the following is in the error_log:<br>
><br>
><br>
> /opt/local/apache2/cgi-bin/mapserv: error: `/opt/local/apache2/cgi-bin/.libs/mapserv' does not exist<br>
<br>
Hmm. I’ll have to install the port myself and see if I can reproduce that problem.<br>
<br>
</blockquote>
</div></div></div><br></div>