<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p> </p>
<div>Hi,</div>
<div> </div>
<div>You should follow this documentation : http://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/ogc_server_support.html</div>
<div> </div>
<div>---<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><br /> Nicolas BOISTEAULT<br /> Développeur Web/WebSIG<br /> Observatoire Régional de l'Environnement<br /> Téléport 4 Antarès  - BP 50163 - 86962 Futuroscope Chasseneuil Cedex<br /> Tél : 05 49 49 71 18</div>
</div>
<p> </p>
<p>Le 2016-05-12 11:22, Kuan Song a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored --><!-- node type 8 -->
<div style="color: #000; background-color: #fff; font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;">
<div id="yui_3_16_0_ym19_1_1463044097517_3841">Dear QGIS community,</div>
<div id="yui_3_16_0_ym19_1_1463044097517_3891"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_3892" dir="ltr">I hope to seek your help on how to deploy the QGIS Server on a ubuntu vmware instance.</div>
<div id="yui_3_16_0_ym19_1_1463044097517_3953" dir="ltr">The QGIS server official guide is what I followed. It does not work!!!</div>
<div id="yui_3_16_0_ym19_1_1463044097517_3960" dir="ltr"><a id="yui_3_16_0_ym19_1_1463044097517_3963" href="http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial">http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial</a></div>
<div id="yui_3_16_0_ym19_1_1463044097517_3982" dir="ltr"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4005" dir="ltr">1. After I typed in firefox: <a id="yui_3_16_0_ym19_1_1463044097517_4054" href="http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities">http://localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities</a></div>
<div id="yui_3_16_0_ym19_1_1463044097517_4055" dir="ltr"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4056" dir="ltr">this is what I got:</div>
<div id="yui_3_16_0_ym19_1_1463044097517_4057" dir="ltr"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4041" dir="ltr">Not Found<br id="yui_3_16_0_ym19_1_1463044097517_4020" /><br id="yui_3_16_0_ym19_1_1463044097517_4021" />The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.<br id="yui_3_16_0_ym19_1_1463044097517_4022" />Apache/2.4.18 (Ubuntu) Server at localhost Port 80</div>
<div id="yui_3_16_0_ym19_1_1463044097517_4076" dir="ltr"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4077" dir="ltr">2. I made a QGIS project file with 1 shapefile in it, and put the project file and shapefile in <code id="yui_3_16_0_ym19_1_1463044097517_4125">/usr/lib/cgi-bin, as demonstrated in <a id="yui_3_16_0_ym19_1_1463044097517_4447" class="enhancr2_46488487-db8b-1319-a45a-092bd810c900" href="https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/">QGIS Server on Ubuntu Step-by-step</a><br /></code></div>
<div> </div>
<div id="enhancr2_46488487-db8b-1319-a45a-092bd810c900" class="yahoo-link-enhancr-card  ymail-preserve-class ymail-preserve-style" dir="ltr" style="max-width: 400px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;"><a id="yui_3_16_0_ym19_1_1463044097517_4470" class="yahoo-enhancr-cardlink" style="text-decoration: none !important; color: #000 !important;" href="https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/"> </a>
<table id="yui_3_16_0_ym19_1_1463044097517_4469" class="card-wrapper yahoo-ignore-table" style="max-width: 400px;" border="0" cellspacing="0" cellpadding="0">
<tbody id="yui_3_16_0_ym19_1_1463044097517_4468">
<tr id="yui_3_16_0_ym19_1_1463044097517_4467">
<td id="yui_3_16_0_ym19_1_1463044097517_4466" width="400">
<table id="yui_3_16_0_ym19_1_1463044097517_4465" class="card yahoo-ignore-table" style="max-width: 400px;" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody id="yui_3_16_0_ym19_1_1463044097517_4464">
<tr id="yui_3_16_0_ym19_1_1463044097517_4463">
<td id="yui_3_16_0_ym19_1_1463044097517_4462" class="card-primary-image-cell" style="background: #000 no-repeat center center; background-size: cover; height: 200px; position: relative;" valign="top" bgcolor="#000000"><!-- node type 8 -->
<table id="yui_3_16_0_ym19_1_1463044097517_4461" class="yahoo-ignore-table" style="width: 100%;" border="0" cellspacing="0" cellpadding="0">
<tbody id="yui_3_16_0_ym19_1_1463044097517_4460">
<tr id="yui_3_16_0_ym19_1_1463044097517_4459">
<td id="yui_3_16_0_ym19_1_1463044097517_4458" style="background: transparent repeat left top; height: 200px;" valign="top" bgcolor="transparent"><!-- node type 8 -->
<table id="yui_3_16_0_ym19_1_1463044097517_4457" class="yahoo-ignore-table" style="width: 100%; height: 185px; min-height: 185px;">
<tbody id="yui_3_16_0_ym19_1_1463044097517_4456">
<tr id="yui_3_16_0_ym19_1_1463044097517_4455">
<td class="card-richInfo2" style="text-align: left; padding: 15px 0 0 15px; vertical-align: top;"> </td>
<td id="yui_3_16_0_ym19_1_1463044097517_4454" class="card-actions" style="text-align: right; padding: 15px 15px 0 0; vertical-align: top;"> </td>
</tr>
</tbody>
</table>
<!-- node type 8 --></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr id="yui_3_16_0_ym19_1_1463044097517_4732">
<td id="yui_3_16_0_ym19_1_1463044097517_4731">
<table id="yui_3_16_0_ym19_1_1463044097517_4730" class="card-info yahoo-ignore-table" style="background: #fff; position: relative; z-index: 2; width: 95%; max-width: 380px; border: 1px solid #e0e4e9; border-bottom: 3px solid #000000; margin-top: -40px; margin-left: auto; margin-right: auto;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody id="yui_3_16_0_ym19_1_1463044097517_4729">
<tr id="yui_3_16_0_ym19_1_1463044097517_4728">
<td style="background-color: #ffffff; padding: 16px 0 16px 12px; vertical-align: top;"> </td>
<td id="yui_3_16_0_ym19_1_1463044097517_4727" style="vertical-align: middle; padding: 16px 12px; width: 99%;">
<h2 class="card-title" style="font-size: 16px; line-height: 19px; margin: 0 0 4px 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; word-break: break-word;">QGIS Server on Ubuntu Step-by-step</h2>
<div class="card-description" style="font-size: 11px; line-height: 15px; color: #999; word-break: break-word;">This post summarizes my notes about installing QGIS Server on Ubuntu, adding a QGIS project file to the server a...</div>
</td>
<td style="text-align: right; padding: 16px 12px 16px 0;"> </td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4184" dir="ltr"><code id="yui_3_16_0_ym19_1_1463044097517_4125">then I typed in firefox: </code></div>
<div id="yui_3_16_0_ym19_1_1463044097517_4189" dir="ltr"><br /><code id="yui_3_16_0_ym19_1_1463044097517_4233"><a id="yui_3_16_0_ym19_1_1463044097517_4234" href="http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi">http://localhost/cgi-bin/qgis_mapserv.fcgi </a></code><a id="yui_3_16_0_ym19_1_1463044097517_4235" href="http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi"><br /></a><code id="yui_3_16_0_ym19_1_1463044097517_4236"> I still got this response:</code></div>
<div id="yui_3_16_0_ym19_1_1463044097517_4418" dir="ltr"><code id="yui_3_16_0_ym19_1_1463044097517_4236"> </code></div>
<div id="yui_3_16_0_ym19_1_1463044097517_4253" dir="ltr"><code id="yui_3_16_0_ym19_1_1463044097517_4236">Not Found<br id="yui_3_16_0_ym19_1_1463044097517_4404" /><br id="yui_3_16_0_ym19_1_1463044097517_4405" />The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server.<br id="yui_3_16_0_ym19_1_1463044097517_4406" />Apache/2.4.18 (Ubuntu) Server at localhost Port 80<br /></code></div>
<div id="yui_3_16_0_ym19_1_1463044097517_4239" dir="ltr"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4633" dir="ltr">I do not understand what went wrong or where can I get the right advice, as the QGIS server documentation is highly rare, and frankly dubious.</div>
<div id="yui_3_16_0_ym19_1_1463044097517_4647" dir="ltr"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4648" dir="ltr">I really love the stated feature of QGIS server: just place a QGIS project on a server, and users can see the contents with any web browser. Could someone in the community help me achieve this?</div>
<div id="yui_3_16_0_ym19_1_1463044097517_4649" dir="ltr"> </div>
<div id="yui_3_16_0_ym19_1_1463044097517_4650" dir="ltr">And to the QGIS developers: please consider writing your documentation with more details and pictures. And it'll be much more helpful to include an executable readme/setup program in the QGIS server distribution, so that us users can have some clue. Thank you!<br /><code id="yui_3_16_0_ym19_1_1463044097517_4236"></code></div>
<div id="yui_3_16_0_ym19_1_1463044097517_4722" dir="ltr"><code id="yui_3_16_0_ym19_1_1463044097517_4236"><br /> </code></div>
</div>
<!-- html ignored --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> Qgis-user mailing list<br /> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
</body></html>