<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">To run it as fcgi it needs the .fcgi file extension. You can just symlink:<div> sudo ln -s /usr/lib/cgi-bin/mapserv /usr/lib/cgi-bin/mapserv.fcgi</div><div>and then your request needs to be:</div><div> <a href="http://localhost/cgi-bin/mapserv">http://localhost/cgi-bin/mapserv</a><b>.fcgi</b>?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities</div><div> </div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 4, 2019 at 6:34 AM Roberto Marzocchi <<a href="mailto:roberto.marzocchi@gter.it">roberto.marzocchi@gter.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u><div><div style="font-size:11pt;font-family:Calibri,Arial,Verdana,sans-serif"><div>sorry I enable fastcgi but not cgi<br></div><div><br></div><div>R</div><div><br></div><div id="gmail-m_3295239316559134253Zm-_Id_-Sgn"><pre class="gmail-m_3295239316559134253moz-signature" cols="72"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">Eng. Roberto Marzocchi, PhD
GIS Project Coordinator
Gter srl (Unige spin-off)
Piazza De Marini 3/61 - 16123 Genova
</span><a href="http://P.IVA/CF" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">P.IVA/CF</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"> 01998770992
ph: 010-8694830 - mob: 349-8786575
E-mail: </span><a href="mailto:roberto.marzocchi@gter.it" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">roberto.marzocchi@gter.it</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
skype: roberto.marzocchi84
</span><a href="http://www.gter.it" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.gter.it</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
--
Gter social
</span><a href="http://www.twitter.com/Gteronline" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.twitter.com/Gteronline</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"> - </span><a href="http://www.facebook.com/Gteronline" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.facebook.com/Gteronline</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"> - </span><a href="https://plus.google.com/+GterIt/posts" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">https://plus.google.com/+GterIt/posts</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
</span><a href="http://www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
-----------------------------------------------------------------
Please consider the environment before printing this email! </span><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"></span><br></pre><div><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"></span><br></div></div><div><br></div><div class="gmail-m_3295239316559134253zmail_extra"><div><br></div><div id="gmail-m_3295239316559134253Zm-_Id_-Sgn1">---- On gio, 04 apr 2019 14:29:33 +0200 <b>Richard Greenwood <<a href="mailto:richard.greenwood@gmail.com" target="_blank">richard.greenwood@gmail.com</a>></b> wrote ----<br></div><div><br></div><blockquote style="border-left:1px solid rgb(204,204,204);padding-left:6px;margin:0px 0px 0px 5px"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Have you enabled cgi and fcgi?<br></div><div> sudo a2enmod cgi fcgid<br></div><div>php is not used or necessary for WMS.<br></div></div></div></div><div><br></div><div class="gmail-m_3295239316559134253x_-1755898439gmail_quote"><div class="gmail-m_3295239316559134253x_-1755898439gmail_attr" dir="ltr">On Thu, Apr 4, 2019 at 6:20 AM Roberto Marzocchi <<a href="mailto:roberto.marzocchi@gter.it" target="_blank">roberto.marzocchi@gter.it</a>> wrote:<br></div><div><br></div></div><div><br></div><div><br></div><div>-- <br></div><div class="gmail-m_3295239316559134253x_-1755898439gmail_signature" dir="ltr"><div dir="ltr"><div>Richard W. Greenwood, PLS<br></div><div><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a><br></div></div></div></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail-m_3295239316559134253x_-1755898439gmail_quote"><div><u></u><br></div><div><div style="font-size:11pt;font-family:Calibri,Arial,Verdana,sans-serif"><div>Permission are right (755) anyway I try to change it and nothing change<br></div><div><br></div><div>Perhaps a problem with fastcgi? I installed php7.2-fpm package<br></div><div><br></div><div>R<br></div><div><br></div><div><pre class="gmail-m_3295239316559134253x_-1755898439gmail-m_1151161760486028900moz-signature"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">Eng. Roberto Marzocchi, PhD
GIS Project Coordinator
Gter srl (Unige spin-off)
Piazza De Marini 3/61 - 16123 Genova
</span><a href="http://P.IVA/CF" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">P.IVA/CF</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"> 01998770992
ph: 010-8694830 - mob: 349-8786575
E-mail: </span><a href="mailto:roberto.marzocchi@gter.it" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">roberto.marzocchi@gter.it</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
skype: roberto.marzocchi84
</span><a href="http://www.gter.it" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.gter.it</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
--
Gter social
</span><a href="http://www.twitter.com/Gteronline" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.twitter.com/Gteronline</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"> - </span><a href="http://www.facebook.com/Gteronline" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.facebook.com/Gteronline</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"> - </span><a href="https://plus.google.com/+GterIt/posts" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">https://plus.google.com/+GterIt/posts</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
</span><a href="http://www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis" target="_blank"><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis</span></a><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)">
-----------------------------------------------------------------
Please consider the environment before printing this email! </span><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"></span><br></pre><div><span class="gmail-m_3295239316559134253colour" style="color:rgb(153,153,153)"></span><br></div></div><div><br></div><div class="gmail-m_3295239316559134253x_-1755898439gmail-m_1151161760486028900zmail_extra"><div><br></div><div>---- On gio, 04 apr 2019 14:13:36 +0200 <b>Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com" target="_blank">jmckenna@gatewaygeomatics.com</a>></b> wrote ----<br></div><div><br></div><blockquote style="border-left:1px solid rgb(204,204,204);padding-left:6px;margin:0px 0px 0px 5px"><div><div>Maybe it is permissions on your mapserv executable. Make sure that your <br></div><div>Apache user has permissions to execute that file (or chmod to '777' <br></div><div>temporarily to verify).<br></div><div><br></div><div>-jeff<br></div><div><br></div><div><br></div><div><br></div><div>-- <br></div><div>Jeff McKenna<br></div><div>MapServer Consulting and Training Services<br></div><div><a href="https://gatewaygeomatics.com/" target="_blank">https://gatewaygeomatics.com/</a><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>On 2019-04-04 5:19 AM, Roberto Marzocchi wrote:<br></div><div>> Dear all,<br></div><div>> <br></div><div>> I try to install mapserver on ubuntu 18.04 (I have also a qgis server <br></div><div>> installed but I suppose it is not a problem, I already done the <br></div><div>> installation in old server)<br></div><div>> <br></div><div>> <br></div><div>> when I type mapserv -v on terminal it's OK<br></div><div>> <br></div><div>> MapServer version 7.0.7 OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ <br></div><div>> SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=CAIRO SUPPORTS=SVG_SYMBOLS <br></div><div>> SUPPORTS=RSVG SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER <br></div><div>> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT <br></div><div>> SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI <br></div><div>> SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=POSTGIS INPUT=OGR <br></div><div>> INPUT=GDAL INPUT=SHAPEFILE<br></div><div>> <br></div><div>> when I try to use the cgi service I have some problem:<br></div><div>> <br></div><div>> <a href="http://localhost/cgi-bin/mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities" target="_blank">http://localhost/cgi-bin/mapserv?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities</a><br></div><div>> <br></div><div>> No error on apache log and a file not readable as output [1]<br></div><div>> <br></div><div>> Thanks in advanced for your support<br></div><div>> <br></div><div>> R<br></div><div>> <br></div><div>> <br></div><div>> [1] - <a href="https://docs.zoho.eu/file/1htkm3ff6db579e8d41e8835e76364cd84447" target="_blank">https://docs.zoho.eu/file/1htkm3ff6db579e8d41e8835e76364cd84447</a><br></div><div>> <br></div><div>> <br></div><div>> <br></div><div>_______________________________________________<br></div><div>mapserver-users mailing list<br></div><div><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br></div><div><a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div></div></blockquote></div><div><br></div></div><div><br></div></div><div>_______________________________________________<br></div><div> mapserver-users mailing list<br></div><div> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br></div><div> <a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></div></blockquote></blockquote></div><div><br></div></div><br></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Richard W. Greenwood, PLS<br><a href="http://www.greenwoodmap.com" target="_blank">www.greenwoodmap.com</a></div></div>