<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Paolo,<br>
<br>
if you want to shorten URLs you also can pass the request through a
shell script (or whatever script executable by apache and called
instead og qgis_mapserv.fcgi) and change the parameters. Something
similar to this file "foo.cgi":<br>
<br>
<code><br>
#!/bin/bash<br>
export
QUERY_STRING=$QUERY_STRING'&map=/absolute/path/to/my/project.qgs'<br>
exec /usr/lib/cgi-bin/qgis_mapserv.fcgi<br>
</code><br>
<br>
Marco<br>
<br>
Am 20.06.2013 07:09, schrieb Paolo Cavallini:<br>
<blockquote type="cite">Il 19/06/2013 22:35, Marco Hugentobler ha
scritto:<br>
<br>
> Relative pathes _to_ the project file are currently not
supported (though it is easy<br>
> to resolve the relative pathes). What is your use-case? Do
you have several different<br>
> server instances on your machine?<br>
<br>
Thanks Marco for clarifying. So I can use only:<br>
<br>
qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/test/test.qgs<br>
<br>
Right?<br>
Only one mapserv instance, I just liked shorter URLs.<br>
All the best.<br>
<br>
</blockquote>
<span style="white-space: pre;">>
_______________________________________________<br>
> Qgis-developer mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span><br>
<br>
-- <br>
+++++++++++++++++++++++++++++++++<br>
FOSSGIS 2013, Die Konferenz für Open Source GIS mit OpenData und
OpenStreetMap erstmals in der Schweiz!<br>
12.-14. Juni, HSR, Rapperswil, <a class="moz-txt-link-freetext" href="http://www.fossgis.de/konferenz/2013/">http://www.fossgis.de/konferenz/2013/</a><br>
+++++++++++++++++++++++++++++++++<br>
FOSSGIS e.V.<br>
<br>
die unabhängige Hilfe bei freier GIS-Software und freien Geodaten<br>
<a class="moz-txt-link-freetext" href="http://www.fossgis.de">http://www.fossgis.de</a><br>
+++++++++++++++++++++++++++++++++<br>
<br>
<br>
</body>
</html>