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:     [email protected]
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

 

Reply via email to