mapserver with apache2 on Mavericks

Ryan Schmidt ryandesign at macports.org
Wed Feb 12 04:14:16 PST 2014


On Feb 9, 2014, at 23:15, Nick Wharton <nick.p.wharton at gmail.com> wrote:

> I'm on Mavericks trying to get mapserv running from the cgi-bin directory under the Apache root. The server is up and responding to http://127.0.0.1 but http://127.0.0.1/cgi-bin/mapserv is popping up a Safari dialog "This webpage is not available”.

The “not available” message usually this means there is no server running at that address. The fact that the root URL works is curious. Are you sure it’s working? It could be cached from earlier.

Check Activity Monitor, setting it to show all processes and not just your user’s processes. Are there httpd processes?

Check also what curl says by running:

curl -i http://127.0.0.1/cgi-bin/mapserv

curl -i http://127.0.0.1/

That should get you an un-cached response.


> The /opt/local/apache2/logs directory is empty save for a .turd_apache2 file.. which i understand is actually a good thing :).

If apache2 were running, it should be depositing logs into this directory, assuming your httpd.conf is set up to do that and the permissions are correct.




More information about the macports-users mailing list