Hi Karsten,

With Ubuntu, your problem is a combination of what Jukka and Jörg said. Here is what I would do in your situation, with Ubuntu:

- make sure the mapserv executable has the correct permissions, with a command (inside cgi-bin directory) such as:

  sudo chmod 755 mapserv

- make sure that you have configured the appropriate permissions through Apache for the cgi-bin directory, such as:

          ScriptAlias /cgi-bin/ /var/www/public_html/cgi-bin/
        <Directory /var/www/demo.gatewaygeomatics.com/public_html/cgi-bin/>
          Options ExecCGI
          SetHandler cgi-script
        </Directory>

- restart Apache

  sudo /etc/init.d/apache2 restart


-jeff

--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/





On 2016-04-05 3:50 AM, karsten wrote:
Hi All,
I just seemingly sucessfully compiled mapserver 7.0.1 on Ubuntu 14.04
and can getv the follwoing output  from the executable:
/usr/lib/cgi-bin# ./mapserv -v
MapServer version 7.0.1 OUTPUT=PNG OUTPUT=JPEG SUPPORTS=PROJ
SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=ICONV
SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
Howvere when I try to get a get aresponse to a request e.g.
136.243.250.62/cgi-bin/mapserv
or aslo when I try a getcapabiliteis request like
http://136.243.250.62/cgi-bin/mapserv?map=/var/www/mapdata/ccrp/mapfiles/fingermillet2.map&VERSION=1.1.1&REQUEST=getCapabilities&SERVICE=wms
I always get a 'binary file back' output like below the line . Would
anybody know what could have gone wrong or where to start figuring this
out ?
Cheers
Karsten

Karsten Vennemann
Terra GIS LTD




_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to