Understood. Thanks!<div><br></div><div>You know what? I skip those steps for now just to see how my map looks in the new qgis-web-client, and found some thing new! What I did was:</div><div><ol><li>copying GlobalOptions.js.templ-4326 to GlobalOptions.js; </li>
<li>setting var serverAndCGI into "<a href="http://localhost/cgi-bin/qgis_mapserv.fcgi">http://localhost/cgi-bin/qgis_mapserv.fcgi</a>"; and</li><li>displaying my map at <a href="http://localhost/qgis-web-client/site/qgiswebclient.html?map=/home/arif/mymap/test.qgs">http://localhost/qgis-web-client/site/qgiswebclient.html?map=/home/arif/mymap/test.qgs</a></li>
<li>here is the best thing: searching is working! It uses Geonames database (isn't?) to search any places.</li></ol><div><br></div></div><div><br></div><div><br></div><div><br></div><div><br clear="all">-Arif<br>___________________________<br>
<a href="http://khazanaharham.wordpress.com" target="_blank">KhazanahArham.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Mon, Dec 5, 2011 at 5:37 PM, Mathias Walker <span dir="ltr"><<a href="mailto:mwa@sourcepole.ch">mwa@sourcepole.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
> I try to install the new update of Qgis-web-client. However, at "For the<br>
> Terminally Lazy", after reloading the Apache I found this error:<br>
><br>
>         Syntax error on line 38 of<br>
> /etc/apache2/sites-enabled/qgis-web-client.conf:<br>
>         Invalid command 'RewriteCond', perhaps misspelled or defined by<br>
> a module not included in the server configuration<br>
>         Action 'configtest' failed.<br>
>         The Apache error log may have more information.<br>
>         ...fail!<br>
><br>
> This is what in line 38:<br>
> RewriteCond %{QUERY_STRING} ^(?:.*)query=samplesearch&*(?:.*)$<br>
><br>
><br>
> Is it okey to ignore it?<br>
<br>
The RewriteCond is optionally used for the search panel of the QGIS web-<br>
client. The RewriteRules are used for nicer URLs to the QGIS maps and web-<br>
client files.<br>
<br>
You have to enable the Apache 'mod_rewrite' module on your system, so it can<br>
use the 'RewriteCond' and 'RewriteRule' commands.<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888">Mathias Walker<br>
--<br>
Sourcepole - Linux & Open Source Solutions<br>
Churerstrasse 22, 8808 Pfäffikon SZ, Switzerland<br>
Tel: 044 440 77 11  Fax: 044 440 77 12<br>
mwa at <a href="http://sourcepole.ch" target="_blank">sourcepole.ch</a>  <a href="http://www.sourcepole.ch" target="_blank">http://www.sourcepole.ch</a><br>
</font></span></blockquote></div><br></div>