<div dir="ltr"><div class="gmail_quote"><br></div><div class="gmail_quote">Thanks Ryan.. i&#39;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 &lt;<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>&gt; 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>
&gt; hmm.. &quot;which apachectl&quot; returns /usr/sbin/apachectl and it&#39;s not a softlink. I believe it&#39;s the OSX default server. So i uninstalled the mapserver/apache2 then:<br>
&gt; sudo mv /usr/sbin/apachectl /usr/sbin/apachectl_original<br>
<br>
You should probably not modify Apple-provided software. But you&rsquo;re right, /usr/sbin/apachectl is for Apple&rsquo;s apache, so you won&rsquo;t be using that if you&rsquo;re interested in controlling MacPorts apache.<br>
<br>
<br>
&gt; then<br>
&gt;<br>
&gt; sudo port install mapserver +apache2<br>
&gt;<br>
&gt; 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>


&gt;<br>
&gt;<br>
&gt; /opt/local/apache2/cgi-bin/mapserv: error: `/opt/local/apache2/cgi-bin/.libs/mapserv&#39; does not exist<br>
<br>
Hmm. I&rsquo;ll have to install the port myself and see if I can reproduce that problem.<br>
<br>
</blockquote>
</div></div></div><br></div>