What is a wrapper script?

Adam Hill adam.hill at GMAIL.COM
Thu Jan 26 12:07:02 EST 2006


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...



More information about the mapserver-users mailing list