Hi everybody, I hope you can help me.<br>I'm trying to enable URL Rewriting in Qgis-web-client as described at point 5 of the configuration guide (<a href="https://github.com/qgis/qgis-web-client" target="_blank">https://github.com/qgis/qgis-web-client</a>)<br>


I'm using this rule:<br><blockquote>RewriteRule wms/([^/]+)$ cgi-bin/qgis_mapserv.fcgi?map=/var/www/qgis-web-client/projects/$1.qgs<br clear="all"></blockquote>It works well: when I browse <a href="http://THE_HOST/wms/example">http://THE_HOST/wms/example</a> on firefox the server returns the cgi script result whit parameter map=/var/www/.../example.qgs<br>


Then I've set<br><blockquote>var serverAndCGI = "<a href="http://THE_HOST/wms/">http://THE_HOST/wms/</a>"<br></blockquote>in GlobalOptions.js instead of the full url.<br><br>The
 problem shows up when Qgis-web-client trys to use the cgi script: 
instead of call /wms/example/?params it calls /wms/NOTHING/?params. (as 
you can see)<br>
<br><blockquote>[16:09:20.950] GET <a href="http://THE_HOST/wms//?&_dc=1361891360854&SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings">http://THE_HOST/wms//?&_dc=1361891360854&SERVICE=WMS&VERSION=1.3&REQUEST=GetProjectSettings</a> [HTTP/1.1 404 Not Found 126ms]<br>


<br></blockquote>What am I forgetting to configure?<br>Thanks in advance.<div class="yj6qo ajU"><div id=":1l1" class="ajR" tabindex="0"><img class="ajT" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div></div>