> -----Original Message----- > From: UMN MapServer Users List > [mailto:[EMAIL PROTECTED] On Behalf Of John Cole > Sent: 03 October, 2006 11:06 AM > To: [email protected] > Subject: [UMN_MAPSERVER-USERS] Variable substitution and WMS > > Is it possible to use variable substitution with a WMS > request to mapserver? > It would be nice to be able to set username/passwords or > other information for layer queries to the mapfile. > > Thanks, > > John
You should be able to use it with OGC:WMS, however a client would require more intelligence to pass along those variables. i.e. a vanille OGC:WMS client would need to be enhanced for this. Additionally, you can take a look at the Mapscript WxS services capability through you favourite scripting language, which can now expose as OGC Web Services (see the MapServer OGC Web Services Workshop [http://ms-ogc-workshop.maptools.org/] for more info and examples). ..Tom
