mapserver with apache2 on Mavericks

Nick Wharton nick.p.wharton at gmail.com
Fri Feb 14 09:28:24 PST 2014


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 renamed the apachectl:

sudo mv /usr/sbin/apachectl /usr/sbin/apachectl_original

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

There is a /opt/local/bin/mapserv, though. Should i modify the script to
point to this directory?

thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140214/cdb11f84/attachment.html>


More information about the macports-users mailing list