Re: [OpenLayers-Users] Control access to WMS

2009-10-14 Thread Guillaume Sueur
t; > "Robert Sanson" > @openlayers.org > Envoyé par : > users-boun...@openlayers.org > > 14/10/2009 03:34 PM > > > A > , "Daniel Morissette" , > >cc > users@openlayers.org > Objet > Re: > [Op

Re: [OpenLayers-Users] Control access to WMS

2009-10-14 Thread Steve . Toutant
nspq.qc.ca "Robert Sanson" @openlayers.org Envoyé par : users-boun...@openlayers.org 14/10/2009 03:34 PM A , "Daniel Morissette" , cc users@openlayers.org Objet Re: [OpenLayers-Users] Control access to WMS I have made copies of mapserv.exe in my cgi-bin to other names su

Re: [OpenLayers-Users] Control access to WMS

2009-10-14 Thread Robert Sanson
le should I use MYMAP (Environment variable MYMAP defined in the conf of Apache). If so, Is there some magic there to get the environment variable value? Should I get it with some php code? Thanks Steve Daniel Morissette @openlayers.org Envoyé par : users-boun...@openlayers.org 13/10/2009 02:5

Re: [OpenLayers-Users] Control access to WMS

2009-10-14 Thread Daniel Morissette
steve.tout...@inspq.qc.ca wrote: > I'm using OpenLayers to create a WMS layer with new > OpenLayers.Layer.WMS(name, url, params, options); > Instead of the path of the mapfile should I use MYMAP (Environment > variable MYMAP defined in the conf of Apache). There is nothing to change in your ma

Re: [OpenLayers-Users] Control access to WMS

2009-10-14 Thread Steve . Toutant
é par : users-boun...@openlayers.org 13/10/2009 02:56 PM A users@openlayers.org cc Objet Re: [OpenLayers-Users] Control access to WMS Christopher Schmidt wrote: > > If you care about people 'stumbling in', this would be sufficient. If you > actually wan

Re: [OpenLayers-Users] Control access to WMS

2009-10-13 Thread Daniel Morissette
Christopher Schmidt wrote: > > If you care about people 'stumbling in', this would be sufficient. If you > actually want to ensure people can't use the data outside of your app, > it's not. > [...] > > Yeah, something like that is what I would probably do if I wanted something > taht was obscuri

Re: [OpenLayers-Users] Control access to WMS

2009-10-13 Thread Christopher Schmidt
On Tue, Oct 13, 2009 at 02:23:18PM -0400, Daniel Morissette wrote: > Christopher Schmidt wrote: > > On Tue, Oct 13, 2009 at 10:56:26AM -0400, steve.tout...@inspq.qc.ca wrote: > >> > >> I would like to control the access to this WMS, so people can use it via > >> my application, but can not "call"

Re: [OpenLayers-Users] Control access to WMS

2009-10-13 Thread Daniel Morissette
Daniel Morissette wrote: > > First add this to your Apache config: > > # Force MapServer to accept mapfiles refs only using env vars > SetEnv MS_MAP_NOPATH "yes" Small typo: The name of the variable should be MS_MAP_NO_PATH -- Daniel Morissette http://www.mapgears.com/

Re: [OpenLayers-Users] Control access to WMS

2009-10-13 Thread Daniel Morissette
Christopher Schmidt wrote: > On Tue, Oct 13, 2009 at 10:56:26AM -0400, steve.tout...@inspq.qc.ca wrote: >> >> I would like to control the access to this WMS, so people can use it via >> my application, but can not "call" the WMS to use it in their client >> application. The reason is there is a "

Re: [OpenLayers-Users] Control access to WMS

2009-10-13 Thread Christopher Schmidt
On Tue, Oct 13, 2009 at 10:56:26AM -0400, steve.tout...@inspq.qc.ca wrote: > Hi, > I don't know where I should post this thread since it implies mapServer > and OpenLayers. > I defined a WMS Raster layer that I use in my OpenLayers/GeoExt apps, > > I would like to control the access to this WMS,

[OpenLayers-Users] Control access to WMS

2009-10-13 Thread Steve . Toutant
Hi, I don't know where I should post this thread since it implies mapServer and OpenLayers. I defined a WMS Raster layer that I use in my OpenLayers/GeoExt apps, I would like to control the access to this WMS, so people can use it via my application, but can not "call" the WMS to use it in their