[mapserver-users] Substitution variable

scott159 at free.fr scott159 at free.fr
Mon Dec 19 14:08:05 EST 2011


Hi,

I try to implement substitution variable with mapserver 6. I add in URL "&attribute=value" and the mapfile contains :

...
DATA "D:\tmp\%attribute%\data.shp"
...

But when I launch the URL "http://.....mapserv.exe?map=....&attribute=value", I have a error because mapserver can't load data from D:\tmp\%attribute%\data.shp. Why the substitution doesn't work ? Is there a configuration to add in Apache, in mapfile to success ?

Thanks

scott


More information about the mapserver-users mailing list