[mapserver-users] WMS don't load

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Oct 2 08:32:31 EDT 2008


Steve.Toutant at inspq.qc.ca wrote:
> 
> Here is an update...
> shp2img is now working on both servers. shp2img could not find EPSG file.
> setEnv PROJ_LIB was in httpd.conf of apache but was not in my OS 
> environment variable. After defining PROJ_LIB on the OS ishp2img is 
> working and create an image.
> So I guess shp2img doesn't use apache.....

Before using any commandline utilities in MS4W you must execute 
/ms4w/setenv.bat to set the appropriate variables that you are referring 
to (if you used the setup.exe for ms4w there would be an "MS4W Shell" 
shortcut on your desktop that sets these env variables 'magically').


> 
> So, the mapfile is ok. But I still not see the wms image when running 
> the mapfile from mapServer with
> http://ipaddress/cgi-bin/mapserv.exe?map=\ms4w\inspq\map\TutorielStatic.map&mode=map 
> 
> 
> Maybe there is another environment variable I must define?
> Someone knows where I can find a list of variable to set on the OS?
> thanks
> Steve


-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/


More information about the mapserver-users mailing list