[mapserver-users] Rewrite rule problem
gorank
kirandziskig at gmail.com
Wed Nov 1 15:12:55 PDT 2017
Hi Andreas,
Finally it works perfectly and it solved most of my problems. I would like
to go one step forward. How will looks SetEnvIfExpr and Rewrite rule in
case when in the mapfile there is a Real time substitution parameter (in my
case year - 2015, 2016, ...)
I would like to write url as you proposed in previous post but with added
year parameter. Example for year 2015:
from
http://localhost:81/cgi-bin/GDZ/2015/wms?map=N1.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3.0
to get
http://localhost:81/cgi-bin/GDZ/wms?year=2015&map=N1.map&REQUEST=GetCapabilities&SERVICE=WMS&VERSION=1.3.0
I tried to do it following your logic but not successfully.
Best regards,
Goran
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html
More information about the MapServer-users
mailing list