<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Where can I see the path to QGIS WMS Server directory? I don't know where to save the *.qgs files, so that the QGIS server can find it. <div><br></div><div>Thanks and regards,</div><div>Marcel<div><div><br><div><div>Am 09.07.2013 um 16:36 schrieb Marcel Stadelmann <<a href="mailto:marcel.stadelmann@gmx.net">marcel.stadelmann@gmx.net</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Hi Bernhard,</div><div><br></div><div>Thanks for the answers.</div><div>Am 09.07.2013 um 15:20 schrieb Bernhard Ströbl <<a href="mailto:bernhard.stroebl@jena.de">bernhard.stroebl@jena.de</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Marcel,<br><br>the way to call your QGIS server is something like:<br><a href="http://localhost/qgis-mapserv/qgis_mapserv.fcgi?map=%3Cpath_to_your_map%3E/yourmap.qgs?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3">http://localhost/qgis-mapserv/qgis_mapserv.fcgi?map=<path_to_your_map>/yourmap.qgs?REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3</a><br>to get the server's capabilites<br>be sure to know the possible requests a WMS server can reply to, see e.g. [1]<br></blockquote><blockquote type="cite"><br>The client accesses the server and not vice versa.<br></blockquote><div>Ok, I think I understand the philosophy. </div><div><br></div><blockquote type="cite"><br>Steps to do:<br>1) Install QGIS server (done)<br>2) Feed QGIS server with a qgis project (*.qgs file)<br></blockquote><div>I saved a QGIS test project with wms capabilites under /Users/Marcello/Downloads/test/alaska.qgs</div><div><br></div><div>The reply of <a href="http://localhost/qgis-mapserv/qgis_mapserv.fcgi?map=/Users/Marcello/Downloads/test/alaska.qgs&SERVICE=WMS&REQUEST=GetCapabilities">http://localhost/qgis-mapserv/qgis_mapserv.fcgi?map=/Users/Marcello/Downloads/test/alaska.qgs&SERVICE=WMS&REQUEST=GetCapabilities</a> in Safari is:</div><div><span style="font-family: Times; ">Configuration file problem : perhaps you left off the .qgs extension?</span></div><div><br></div><div>Does the project path need special permissions? </div><div><br></div><blockquote type="cite">3) access QGIS server from a WMS client (e.g. QGIS desktop) to verify it is running and delivers maps.<br></blockquote>Isn't it easier to test this with Safari? In QGIS I tried to load the alaska layer through "add wms-layer". But i couldn't connect to my localhost. I don't know what url exactly is needed. I tried with <a href="http://localhost/Users/Marcello/Downloads/test/alaska.qgs">http://localhost/Users/Marcello/Downloads/test/alaska.qgs</a> but its not working. The message was: </div><div>Antwort nicht verstanden. Der wms-Provider sagte:</div><div><div style="margin: 0px; ">Eigenschaften-Abfrage gescheitert: Error downloading <a href="http://localhost/Users/Marcello/Downloads/test/alaska.qgs?SERVICE=WMS&REQUEST=GetCapabilities">http://localhost/Users/Marcello/Downloads/test/alaska.qgs?SERVICE=WMS&REQUEST=GetCapabilities</a> - server replied: Not Found<!--EndFragment--></div><div style="margin: 0px; "><br></div></div><div><blockquote type="cite">4) install and configure QWC, see [2]<br></blockquote>Where are this kind of projects normally saved in OSX? I think the QWC files needs to be saved in the project file (in my case under /Users/Marcello/Downloads/test)?<br><blockquote type="cite"><br>Bernhard<br><br>[1] <a href="http://en.wikipedia.org/wiki/Web_Map_Service">http://en.wikipedia.org/wiki/Web_Map_Service</a><br>[2]<a href="https://github.com/qgis/qgis-web-client">https://github.com/qgis/qgis-web-client</a><br><br><br>Am 09.07.2013 13:24, schrieb Marcel Stadelmann:<br><blockquote type="cite">Hi Bernhard,<br><br>Thank you for answering. On my Mac the Apache server works. The QGIS<br>Server is installed according the Tutorial<br><a href="http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial">http://hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial</a>. It<br>also seems to work. When I open the link<br><a href="http://localhost/qgis-mapserv/qgis_mapserv.fcgi?">http://localhost/qgis-mapserv/qgis_mapserv.fcgi?</a> I get the following<br>message from Safari: Please check the value of the REQUEST parameter.<br><br>Now I try to configure and publish a simple QGIS project. But I don't<br>know where to put the files. I also don't understand how the QGIS Server<br>finds the path to the Web Client, because at the moment I have the<br>qgis-web-client folder in /Users/Marcello/Downloads.<br><br>Marcel<br><br><br>Am 09.07.2013 um 12:52 schrieb Bernhard Ströbl <<a href="mailto:bernhard.stroebl@jena.de">bernhard.stroebl@jena.de</a><br><<a href="mailto:bernhard.stroebl@jena.de">mailto:bernhard.stroebl@jena.de</a>>>:<br><br><blockquote type="cite">Hi Marcel,<br><br>I am sorry, I do not really understand your question, so I explain<br>some things, maybe you can reformulate your question and people with<br>Mac OSX knowledge can help you then.<br>qgis-web-client (QWC) is a JavaScript program to be run in a browser.<br>To deliver QWC to the browser of your clients you need a web server<br>(e.g. Apache). You can put QWC whereeever your web server can access<br>it. QWC needs QGIS Server (a WMS server), normally you would run QGIS<br>server on the same machine.<br><br>Bernhard<br><br>Am 09.07.2013 11:18, schrieb Marcel Stadelmann:<br><blockquote type="cite">Hi all,<br><br>I try to install the qgis-web-client on a Mac OSX 10.8.4. But I don't<br>understand where exactly I have to put it? I think the<br>"/home/web/qgis-web-client" path is not for OSX?<br><br>regards,<br>Marcel<br><br><br></blockquote></blockquote></blockquote><br><br>__________ Information from ESET Mail Security, version of virus signature database 8545 (20130709) __________<br><br>The message was checked by ESET Mail Security.<br><a href="http://www.eset.com/">http://www.eset.com</a><br><br><br>_______________________________________________<br>Qgis-user mailing list<br><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>http://lists.osgeo.org/mailman/listinfo/qgis-user<br></blockquote></div><br></div></blockquote></div><br></div></div></div></body></html>