Damn,

the last RewriteRule should be

  RewriteEngine On
  RewriteRule "^/wms/([[:alnum:]]+)/([[:digit:]]+)$" 
/cgi-bin/mapserv?MAP=C:/ms4w/apps/Demo/$1.map&year=$2 [PT,QSA]
 
The character classes prevent bad file names and value for the "year" 
parameter. You should set up a proper validation for the year and/or 
MS_MAP_PATTERN too.

Sorry for the noise
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to