A wrapper script is a simple bash shell script, something like this:

--- /Apache/cgi-bin/mymap ---
#! C:/Apps/cygwin/bin\sh
#date  >> C:/Apps/temp/testingCgi
# Uncomment if you need to debug the .map file
#export CPL_DEBUG=ON
#export PROJ_DEBUG=ON
export MS_ERRORFILE=C:/ms4w/Apache/logs/mymap_error.log
export MS_MAPFILE=C:/ms4w/Apache/htdocs/mymaps/mymap.map
C:/ms4w/Apache/cgi-bin/mapserv.exe
---

Replace the windows style paths with linux ones.

adam...

Reply via email to