[Mapserver-users] Mapfile in WMS

nicolas.fortin at ec.gc.ca nicolas.fortin at ec.gc.ca
Thu Nov 6 10:35:55 EST 2003


Thx for your answer Paul,

I forgot to mention that i'm on Windows 2k with IIS 5.0 ... nobody's perfect
;)

Nick

-----Message d'origine-----
De : Paul Ramsey [mailto:pramsey at refractions.net] 
Envoyé : Thursday, November 06, 2003 10:34 AM
À : nicolas.fortin at ec.gc.ca
Objet : Re: [Mapserver-users] Mapfile in WMS


Oops, I gave the wrong environment variable, it is actually MS_MAPFILE.  
There is also a nice trick to supply it using Apache directives, if you  
do not like the shell script solution. Here's the mailing list  
reference:

http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0303/ 
msg00069.html

On Thursday, November 6, 2003, at 06:40 AM, nicolas.fortin at ec.gc.ca  
wrote:

> Hi!
>  
> I just test some Mapfile for WMS and it works pretty fine but I wonder
> if I can avoid putting the path to the mapfile in the parameter.
> Ex:  
> http://blablabla/cgi-bin/mapserv.exe?map=tutorial366/s2/ 
> s2ex8.map&REQUEST=GetCapabilities
> I want it like  
> http://blablabla/cgi-bin/ 
> mapserv.exe?map=s2ex8.map&REQUEST=GetCapabilities
>
> This way, I have to put the Mapfile at the root, right?? Or perhaps I
> missed something....?
>  
> Thx,
>
> Nicolas Fortin
> Mathématicien, Programmeur, Analyste de données
> SMC-Québec Hydrologie, Environnement Canada
> 1141, Rte de l'Église, Sainte-Foy(QC) G1V 4H5
> (418)648-2516
> nicolas.fortin at ec.gc.ca <mailto:nicolas.fortin at ec.gc.ca>
>
>  
>
      Paul Ramsey
      Refractions Research
      Email: pramsey at refractions.net
      Phone: (250) 885-0632




More information about the mapserver-users mailing list