<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Dear Kuan Song<br>
      <br>
      This seems to be a problem with your apache fcgi setup. Apache
      cannot find your cgi directory.<br>
       <br>
      Btw. the easiest method to use QGIS server is Sourcepole QGIS
      cloud (<a class="moz-txt-link-abbreviated" href="http://www.qgiscloud.com">www.qgiscloud.com</a>). No need to run your own database and
      apache webserver with this option.<br>
      <br>
      Regards,<br>
      Marco  <br>
      <br>
      On 05/12/16 11:22, Kuan Song wrote:<br>
    </div>
    <blockquote
      cite="mid:1748114402.990936.1463044959462.JavaMail.yahoo@mail.yahoo.com"
      type="cite"><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
      <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"><br>
        </div>
        <div dir="ltr" id="yui_3_16_0_ym19_1_1463044097517_3892">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
            moz-do-not-send="true"
            id="yui_3_16_0_ym19_1_1463044097517_3963"
            href="http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial"><a class="moz-txt-link-freetext" href="http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial">http://hub.qgis.org/wiki/quantum-gis/QGIS_Server_Tutorial</a></a></div>
        <div id="yui_3_16_0_ym19_1_1463044097517_3982" dir="ltr"><br>
        </div>
        <div id="yui_3_16_0_ym19_1_1463044097517_4005" dir="ltr">1.
          After I typed in firefox: <a moz-do-not-send="true"
            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"><br>
        </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"><br>
        </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"><br>
        </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 moz-do-not-send="true"
              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><br>
        </div>
        <div id="enhancr2_46488487-db8b-1319-a45a-092bd810c900"
          class="yahoo-link-enhancr-card ymail-preserve-class
          ymail-preserve-style"
          style="max-width:400px;font-family:'Helvetica Neue',
          Helvetica, Arial, sans-serif;"
data-url="https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/"
          data-type="yenhancr" data-category="article" data-embed-url=""
          data-size="medium" dir="ltr" contenteditable="false"> <a
            moz-do-not-send="true"
            id="yui_3_16_0_ym19_1_1463044097517_4470"
href="https://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/"
            style="text-decoration:none !important; color: #000
            !important;" class="yahoo-enhancr-cardlink" target="_blank"
            rel="noreferrer">
            <table id="yui_3_16_0_ym19_1_1463044097517_4469"
              class="card-wrapper yahoo-ignore-table"
              style="max-width:400px;" border="0" cellpadding="0"
              cellspacing="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"
                      cellpadding="0" cellspacing="0" width="100%">
                      <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
                            url('https://s.yimg.com/vv//api/res/1.2/upAW.ymbLdA2ySKkR79ppA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://s0.wp.com/i/blank.jpg.cf.jpg')
                            no-repeat center
                            center;background-size:cover;height:200px;position:relative;"
background="https://s.yimg.com/vv//api/res/1.2/upAW.ymbLdA2ySKkR79ppA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://s0.wp.com/i/blank.jpg.cf.jpg"
                            bgcolor="#000000" valign="top">
                            <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https://s.yimg.com/vv//api/res/1.2/upAW.ymbLdA2ySKkR79ppA--/YXBwaWQ9bWFpbDtmaT1maWxsO2g9MjAwO3c9NDAw/https://s0.wp.com/i/blank.jpg.cf.jpg"/></v:rect><![endif]-->
                            <table
                              id="yui_3_16_0_ym19_1_1463044097517_4461"
                              class="yahoo-ignore-table" valign="top"
                              style="width:100%;" border="0"
                              cellpadding="0" cellspacing="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
                                    url('https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png')
                                    repeat left top;height:200px;"
background="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"
                                    bgcolor="transparent" valign="top">
                                    <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"/><v:textbox inset="0,0,20px,0"><![endif]-->
                                    <table
                                      id="yui_3_16_0_ym19_1_1463044097517_4457"
                                      class="yahoo-ignore-table"
                                      style="width:100%;height:185px;min-height:185px;"
                                      height="185">
                                      <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;text-align:left;padding:15px
                                            0 0
                                            15px;vertical-align:top;"> <br>
                                          </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;"> <br>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                    <!--[if gte mso 9]></v:textbox></v:rect><![endif]-->
                                  </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" cellpadding="0" cellspacing="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;"> <br>
                                  </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;"> <br>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
              </tbody>
            </table>
          </a></div>
        <div><br>
        </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
              moz-do-not-send="true"
              id="yui_3_16_0_ym19_1_1463044097517_4234"
              href="http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi"
              rel="nofollow"><a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/qgis_mapserv.fcgi">http://localhost/cgi-bin/qgis_mapserv.fcgi</a>
            </a></code><a moz-do-not-send="true"
            id="yui_3_16_0_ym19_1_1463044097517_4235"
            href="http://10.101.21.28/cgi-bin/vienna/qgis_mapserv.fcgi"
            rel="nofollow"><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"><br>
          </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"><br>
        </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"><br>
        </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"><br>
        </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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee </pre>
  </body>
</html>