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:
1. copying GlobalOptions.js.templ-4326 to GlobalOptions.js; 2. setting var serverAndCGI into " http://localhost/cgi-bin/qgis_mapserv.fcgi"; and 3. 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 <http://khazanaharham.wordpress.com> On Mon, Dec 5, 2011 at 5:37 PM, Mathias Walker <[email protected]> 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 http://www.sourcepole.ch >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
