Yes - it was decided to have some out of the box project where global searching should work through Geonames.

Andreas

On Tue, 6 Dec 2011 08:12:40 +0700, Arif Arham wrote:
Understood. Thanks!

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:

        * copying GlobalOptions.js.templ-4326 to GlobalOptions.js; 
        * setting var serverAndCGI into
"http://localhost/cgi-bin/qgis_mapserv.fcgi [3]"; and
        * displaying my map

at http://localhost/qgis-web-client/site/qgiswebclient.html?map=/home/arif/mymap/test.qgs
[4]
        * here is the best thing: searching is working! It uses Geonames
database (isn't?) to search any places.

-Arif
___________________________
 KhazanahArham.wordpress.com [5]

On Mon, Dec 5, 2011 at 5:37 PM, Mathias Walker  wrote:

I try to install the new update of Qgis-web-client. However, at
"For the
> Terminally Lazy", after reloading the Apache I found this error:
>
>         Syntax error on line 38 of
> /etc/apache2/sites-enabled/qgis-web-client.conf:
>         Invalid command 'RewriteCond', perhaps misspelled or
defined by
> a module not included in the server configuration
>         Action 'configtest' failed.
>         The Apache error log may have more information.
>         ...fail!
>
> This is what in line 38:
> RewriteCond %{QUERY_STRING} ^(?:.*)query=samplesearch&*(?:.*)$
>
>
> Is it okey to ignore it?

The RewriteCond is optionally used for the search panel of the QGIS
web-
client. The RewriteRules are used for nicer URLs to the QGIS maps
and web-
client files.

You have to enable the Apache 'mod_rewrite' module on your system,
so it can
use the 'RewriteCond' and 'RewriteRule' commands.

Best regards
Mathias Walker
--
Sourcepole - Linux & Open Source Solutions
Churerstrasse 22, 8808 Pfäffikon SZ, Switzerland
Tel: 044 440 77 11  Fax: 044 440 77 12
mwa at sourcepole.ch [1]  http://www.sourcepole.ch [2]



Links:
------
[1] http://sourcepole.ch
[2] http://www.sourcepole.ch
[3] http://localhost/cgi-bin/qgis_mapserv.fcgi
[4]

http://localhost/qgis-web-client/site/qgiswebclient.html?map=/home/arif/mymap/test.qgs
[5] http://khazanaharham.wordpress.com
[6] mailto:[email protected]

--
--
Andreas Neumann
Böschacherstrasse 10A
8624 Grüt (Gossau ZH)
Switzerland
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to