there seems to be something wrong in the docs, have a look at http://trac.osgeo.org/mapserver/ticket/3310 for a working rewriterule.
-- thomas On Tue, Jan 31, 2012 at 16:22, Nico Alberti <[email protected]> wrote: > Hi everybody and sorry if my question is both lame and mostly due to my lack > of knowledge in using mod_rewrite, but I am having trouble changing the > Resource URL of my wms service. I followed the instructions at > http://mapserver.org/ogc/wms_server.html#online-resource-wms so I wrote this > .htaccess file: > > RewriteEngine on > RewriteRule gisservice?(.*) > /cgi-bin/mapserv?map=/var/www/osm-demo/mapserver-utils-svn/osm-google.map&$1 > > The problem is that when a client invokes: > http://127.0.0.1/gisservice?VERSION=1.1.1&SERVICE=WMS&REQUEST=GetCapabilities > > i get the error "Traditional BROWSE mode requires a TEMPLATE..." because, > from what I see trying to debug mod_rewrite, all the arguments (except the > map one) are stripped away from the url. > > Can anybody give me some hint? I can live without rewtiting the url, I would > love to understand what's going wrong. > > Thank you in advance and sorry for my poor English. > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
