Re: Problem install mapserver on ubuntu 18.04

Roberto Marzocchi <[email protected]>
Newsgroups gmane.comp.gis.mapserver.user
Message-ID <[email protected]>
Thanks! Now it is all clear!



Sorry for my stupid question

R


Eng. Roberto Marzocchi, PhD
GIS Project Coordinator
Gter srl (Unige spin-off)
Piazza De Marini 3/61 - 16123 Genova
http://P.IVA/CF 01998770992
ph: 010-8694830 - mob: 349-8786575
E-mail: mailto:[email protected]
skype: roberto.marzocchi84
http://www.gter.it

--
Gter social
http://www.twitter.com/Gteronline - http://www.facebook.com/Gteronline - https://plus.google.com/+GterIt/posts 
http://www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis

-----------------------------------------------------------------
Please consider the environment before printing this email! 








---- On gio, 04 apr 2019 14:44:09 +0200 Richard Greenwood <[email protected]> wrote ----



To run it as fcgi it needs the .fcgi file extension. You can just symlink:

   sudo ln -s /usr/lib/cgi-bin/mapserv /usr/lib/cgi-bin/mapserv.fcgi

and then your request needs to be:

   http://localhost/cgi-bin/mapserv.fcgi?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities

 







On Thu, Apr 4, 2019 at 6:34 AM Roberto Marzocchi <mailto:[email protected]> wrote:








-- 

Richard W. Greenwood, PLS

http://www.greenwoodmap.com






sorry I enable fastcgi but not cgi



R



Eng. Roberto Marzocchi, PhD
GIS Project Coordinator
Gter srl (Unige spin-off)
Piazza De Marini 3/61 - 16123 Genova
http://P.IVA/CF 01998770992
ph: 010-8694830 - mob: 349-8786575
E-mail: mailto:[email protected]
skype: roberto.marzocchi84
http://www.gter.it

--
Gter social
http://www.twitter.com/Gteronline - http://www.facebook.com/Gteronline - https://plus.google.com/+GterIt/posts 
http://www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis

-----------------------------------------------------------------
Please consider the environment before printing this email! 








---- On gio, 04 apr 2019 14:29:33 +0200 Richard Greenwood <mailto:[email protected]> wrote ----



Have you enabled cgi and fcgi?

   sudo a2enmod cgi fcgid

php is not used or necessary for WMS.






On Thu, Apr 4, 2019 at 6:20 AM Roberto Marzocchi <mailto:[email protected]> wrote:








-- 

Richard W. Greenwood, PLS

http://www.greenwoodmap.com






Permission are right (755) anyway I try to change it and nothing change



Perhaps a problem with fastcgi? I installed php7.2-fpm package



R



Eng. Roberto Marzocchi, PhD
GIS Project Coordinator
Gter srl (Unige spin-off)
Piazza De Marini 3/61 - 16123 Genova
http://P.IVA/CF 01998770992
ph: 010-8694830 - mob: 349-8786575
E-mail: mailto:[email protected]
skype: roberto.marzocchi84
http://www.gter.it

--
Gter social
http://www.twitter.com/Gteronline - http://www.facebook.com/Gteronline - https://plus.google.com/+GterIt/posts 
http://www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis

-----------------------------------------------------------------
Please consider the environment before printing this email! 








---- On gio, 04 apr 2019 14:13:36 +0200 Jeff McKenna <mailto:[email protected]> wrote ----



Maybe it is permissions on your mapserv executable.  Make sure that your 

Apache user has permissions to execute that file (or chmod to '777' 

temporarily to verify).



-jeff







-- 

Jeff McKenna

MapServer Consulting and Training Services

https://gatewaygeomatics.com/









On 2019-04-04 5:19 AM, Roberto Marzocchi wrote:

> Dear all,

> 

> I try to install mapserver on ubuntu 18.04 (I have also a qgis server 

> installed but I suppose it is not a problem, I already done the 

> installation in old server)

> 

> 

> when I type mapserv -v on terminal it's OK

> 

> MapServer version 7.0.7 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ 

> SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS 

> SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER 

> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 

> SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI 

> SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR 

> INPUT=GDAL INPUT=SHAPEFILE

> 

> when I try to use the cgi service I have some problem:

> 

> http://localhost/cgi-bin/mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities

> 

> No error on apache log and a file not readable as output [1]

> 

> Thanks in advanced for your support

> 

> R

> 

> 

> [1] - https://docs.zoho.eu/file/1htkm3ff6db579e8d41e8835e76364cd84447

> 

> 

> 

_______________________________________________

mapserver-users mailing list

mailto:[email protected]

https://lists.osgeo.org/mailman/listinfo/mapserver-users










_______________________________________________

mapserver-users mailing list

mailto:[email protected]

https://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.