mapserver with apache2 on Mavericks

Nick Wharton nick.p.wharton at gmail.com
Thu Feb 20 13:43:15 PST 2014


Thanks Ryan.. i'm a bit stuck at present but have other tasks. Any help you
can provide would be appreciated.


On Friday, February 14, 2014, Ryan Schmidt <ryandesign at macports.org> wrote:

>
> On Feb 13, 2014, at 18:51, Nick Wharton wrote:
>
> > 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:
> > sudo mv /usr/sbin/apachectl /usr/sbin/apachectl_original
>
> 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.
>
>
> > then
> >
> > sudo port install mapserver +apache2
> >
> > 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 http://localhost/cgi-bin/mapserv it returns an error and the
> following is in the error_log:
> >
> >
> > /opt/local/apache2/cgi-bin/mapserv: error:
> `/opt/local/apache2/cgi-bin/.libs/mapserv' does not exist
>
> Hmm. I'll have to install the port myself and see if I can reproduce that
> problem.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140220/caffbebb/attachment.html>


More information about the macports-users mailing list