<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000066">
    <font face="Verdana">Hi Marco,<br>
      <br>
      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<br>
      <br>
      e.g.: </font><font face="Verdana"><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><br>
REQUEST=GetMap&amp;BBOX=-36.215710,6.817432,-9.700450,58.551008&amp;<br>
CRS=EPSG:4326&amp;WIDTH=1077&amp;HEIGHT=552&amp;LAYERS=Continent,Country,Cities&amp;<br>
      STYLES=,,&amp;FORMAT=image/jpeg&amp;DPI=96<br>
    </font><br>
    It seems to be very complicated and time consuming to work like this
    (as I'm a big GUI-fan)<br>
    <font face="Verdana"><br>
      Best regards<br>
      Christopher<br>
      <br>
      <br>
    </font><br>
    Am 15.10.2011 16:25, schrieb Marco Hugentobler:
    <blockquote
      cite="mid:201110151625.33467.marco.hugentobler@sourcepole.ch"
      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=GetCapabilities

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>
  </body>
</html>