<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000066">
    <font face="Verdana">Hi Marco,<br>
      <br>
      thanks for this. I downloaded the qgis-web-client.<br>
      <br>
      I get this output:<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://localhost/qgis-web-client/index.xml">http://localhost/qgis-web-client/index.xml</a><br>
      <br>
      QGIS WebclientQGIS ServerOSGEO LiveNatural Earth<br>
      WMS Get Capabilities<br>
      Responsible: OSGEO Live maintainers<br>
      <br>
      When I click on the links "natural earth" or wms get capabilities"
      there comes an error page "not found".<br>
      <br>
      Can you tell me how I display my qgis project file with this
      web-client? I didn't understand their documentation.<br>
      <br>
    </font><br>
    best regards<br>
    Christopher<br>
    <br>
    <br>
    <br>
    Am 16.10.2011 08:37, schrieb Marco Hugentobler:
    <blockquote
      cite="mid:201110160837.22340.marco.hugentobler@sourcepole.ch"
      type="cite">
      <pre wrap="">Hi Christoper

As others pointed out, there are many WMS clients with a graphical interface.
QGIS webclient provides a java script client adapted to the possibilities of 
QGIS server (e.g. web based printing is supported out ot the box).

Source code and documentation are here:
<a class="moz-txt-link-freetext" href="https://github.com/qgis/qgis-web-client">https://github.com/qgis/qgis-web-client</a>

Regards,
Marco

Am Samstag, 15. Oktober 2011, 18.43:07 schrieb Christopher Stark:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi Marco,

thank you this works. Is there a more comfortable way of displaying a
map - with a web-frontend-page or do I have to type in every command
manually like this

e.g.:
<a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/world/qgis_mapserv.fcgi?SERVICE=WMS&amp;VERSION=1.3.0&amp;">http://localhost/cgi-bin/world/qgis_mapserv.fcgi?SERVICE=WMS&amp;VERSION=1.3.0&amp;</a>
REQUEST=GetMap&amp;BBOX=-36.215710,6.817432,-9.700450,58.551008&amp;
CRS=EPSG:4326&amp;WIDTH=1077&amp;HEIGHT=552&amp;LAYERS=Continent,Country,Cities&amp;
STYLES=,,&amp;FORMAT=image/jpeg&amp;DPI=96

It seems to be very complicated and time consuming to work like this (as
I'm a big GUI-fan)

Best regards
Christopher

Am 15.10.2011 16:25, schrieb Marco Hugentobler:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hi Christopher

This error message shows that it works (you just did not make a valid WMS
request). To publish your project, you need to give the file path to the
.qgs project in the url and the wms request parameters.

<a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/home/me/myproject.qgs&amp;">http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/home/me/myproject.qgs&amp;</a>

is the WMS url

<a class="moz-txt-link-freetext" href="http://localhost/cgi">http://localhost/cgi</a>-
bin/qgis_mapserv.fcgi?map=/home/me/myproject.qgs&amp;SERVICE=WMS&amp;REQUEST=GetC
apabilities

should return an xml document with the available layer, styles, crs, etc.

Regards,
Marco

Am Samstag, 15. Oktober 2011, 12.23:56 schrieb Christopher Stark:
</pre>
          <blockquote type="cite">
            <pre wrap="">Hi,

thank you. I did all this but now I get this error message:

This XML file does not appear to have any style information associated
with it. The document tree is shown below.
&lt;ServiceExceptionReport version="1.3.0"&gt;&lt;ServiceException
code="ServiceNotSpecified"&gt;Service not specified. The SERVICE parameter
is mandatory&lt;/ServiceException&gt;&lt;/ServiceExceptionReport&gt;

Questions below:

Am 14.10.2011 21:50, schrieb Giovanni Manghi:
</pre>
            <blockquote type="cite">
              <blockquote type="cite">
                <pre wrap="">What should I do as first steps after installing?
</pre>
              </blockquote>
              <pre wrap="">
if working correctly, the address

<a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/qgis_mapserv.fcgi">http://localhost/cgi-bin/qgis_mapserv.fcgi</a>

should return

&lt;ServiceExceptionReport version="1.3.0"&gt;&lt;ServiceException
code="OperationNotSupported"&gt;Please check the value of the REQUEST
parameter&lt;/ServiceException&gt;&lt;/ServiceExceptionReport&gt;

Then just create a project in QGIS (use absolute paths) and in the
project properties configure the parameters in the "WMS server" tab.
</pre>
            </blockquote>
            <pre wrap="">
which paramenters are important here? What does absolute paths mean in
this regard

</pre>
            <blockquote type="cite">
              <pre wrap="">Create a folder in

/usr/lib/cgi-bin/

and copy into it your QGIS project and a copy of qgis_mapserv.fcgi

your server address will be


<a class="moz-txt-link-freetext" href="http://localhost/cgi-bin/myprojectfolder/qgis_mapserv.fcgi">http://localhost/cgi-bin/myprojectfolder/qgis_mapserv.fcgi</a>


cheers

-- Giovanni --
</pre>
            </blockquote>
            <pre wrap="">
Best regards
Christopher
</pre>
          </blockquote>
          <pre wrap="">
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
    </blockquote>
  </body>
</html>