[Mapserver-users] Mapfile in WMS

Tom Kralidis [Burlington] Tom.Kralidis at ec.gc.ca
Thu Nov 6 10:55:54 EST 2003


You can set an environment variable in your web server config to set this
such that the "&map=....." is not in the URL.  Check the MapServer
wms-server howto.

Cheers

..Tom

============================================
Tom Kralidis
Systems Scientist
Integrated Environmental Applications Branch
Knowledge Integration Directorate
Environment Canada
867 Lakeshore Road 
Burlington, ON
L7R 4A6
Canada
Tel: +01-905-336-4409
http://www.cise-scie.ca/
============================================

-----Original Message-----
From: nicolas.fortin at ec.gc.ca [mailto:nicolas.fortin at ec.gc.ca] 
Sent: Thursday, November 06, 2003 9:40 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] Mapfile in WMS


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=Ge
tCapabilities
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> 




More information about the mapserver-users mailing list