RE [Polluriel potentiel] Re: [mapserver-users] Relative path's in mapfile

Daniel Morissette dmorissette at mapgears.com
Wed Jan 25 09:39:45 EST 2012


On 12-01-25 9:01 AM, Steve.Toutant at inspq.qc.ca wrote:
>
> How do you manage the server/domain name in the mapfile for
> wms_onlineressource when migrating from dev to prod environment.
> Per example,
> http://localhost:80/cgi-bin/mapserv.exe?map=MYMAP
>
> Do we need to manually change localhost:80before migrating to prod?


There is no automated way to handle this, so yes you need to edit the 
mapfile, or use a script to automate the replacement.

-- 
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000



More information about the mapserver-users mailing list