<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>Hi list:</DIV>
<DIV> </DIV>
<DIV>I am using MS4W package with Chameleon in an IIS environment. Some<BR>of my mapping applications will display map images (containing both<BR>shapefiles and PostGIS data) in Apache but when I tried to display<BR>both types of data in IIS, I got an broken image. It seems that I<BR>can display only multiple shapefiles OR only PostGIS data but not<BR>both in IIS. <BR>In addition, when I tested using a php file,<BR>?php<BR> <BR>dl("php_mapscript.dll");</DIV>
<DIV> </DIV>
<DIV>$oMap =<BR>ms_newMapObj("/ms4w/apps/chameleon/samples/map/world_wms.map");<BR>$oImage = $oMap->draw();<BR>header("Content-type: image/png");<BR>$oImg->saveImage("/ms4w/tmp/ms_tmp/test.png");<BR> <BR>?><BR>I got this error message: The image<BR>"<A href="http://mapt.deed.state.mn.us:8080/chameleon/samples/test.php">http://mapt.deed.state.mn.us:8080/chameleon/samples/test.php</A>";;<BR>> cannot be displayed, because it contains errors.<BR>However,<BR>"The image created by the script is fine when accessed via:<BR>http:// mapt.deed.state.mn.us:8080/ms_tmp/test.png" .</DIV>
<DIV> </DIV>
<DIV>I am really lost as to how to fix this problem. Could someone please<BR>guide me on this? Thank you for your time.</DIV>
<DIV> </DIV>
<DIV>Regards,<BR>Jessica </DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>