Online Resource URL

Kralidis,Tom [Burlington] Tom.Kralidis at EC.GC.CA
Mon Jan 16 14:22:42 PST 2006


You can define multiple MS_MAPFILE settings just like you have below.  Each setting is relative to the SetEnvIf directive.

..Tom



-----Original Message-----
From:	UMN MapServer Users List on behalf of Tonkin, Bruce CSD:EX
Sent:	Mon 16-Jan-06 14:44
To:	MAPSERVER-USERS at LISTS.UMN.EDU
Cc:	
Subject:	[UMN_MAPSERVER-USERS] Online Resource URL

I have multiple map services that I would like to publish. Using the
suggested approach in the documentation, I have only one MS_MAPFILE
environment variable to play with. ie.
SetEnvIf Request_URI "/cgi-bin/mywms" MS_MAPFILE=/path/to/mymap.map
How can I create additional services like the following?

SetEnvIf Request_URI "/cgi-bin/mywms" MS_MAPFILE=/path/to/mymap2.map and

SetEnvIf Request_URI "/cgi-bin/mywms3" MS_MAPFILE=/path/to/mymap3.map

Thanks, 
____________________________________________________________

Bruce Tonkin
Information Management Branch
Corporate Services Division
3rd Floor, 395 Waterfront Crescent, Victoria, BC, Canada, V8W 9M3 
Mail: PO Box 9364, Stn Prov Govt, Victoria BC  V8W 9M3 
Phone: (250) 356-0108
Fax: (250) 387-1085

 



More information about the MapServer-users mailing list