<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>hi </DIV>
<DIV> </DIV>
<DIV>Here is how I reference paths in Mapserver under Windows:</DIV>
<DIV> </DIV>
<DIV>  # this is the real filepath to the temp dir for intermediate file creation<BR>  IMAGEPATH "/ms4w/tmp/ms_tmp/"</DIV>
<DIV> </DIV>
<DIV>THis works for me.</DIV>
<DIV> </DIV>
<DIV>Kind regards,</DIV>
<DIV> </DIV>
<DIV>Robert Sanson<BR><BR>>>> Guillaume Sueur <guillaume.sueur@neogeo-online.net> 21/05/2008 4:46 a.m. >>><BR></DIV>
<DIV style="COLOR: #000000">if you can, yes, have a try to linux. But this should work on Windows too.<BR>it's been a long time since I haven't used MapServer on Windows, but I <BR>remember having had problems with backslashes. Can you try doubling them <BR>(ie C:\\ms4w\\Apache\\htdocs\\test.html)<BR><BR>Can you confirm it is still the exact same error (parsing error on line <BR>1) ?<BR><BR>then, can you check your CR-LF as well ?<BR><BR>Hope that helps !<BR><BR>Guillaume<BR><BR>????? ?apad???? a écrit :<BR>> Unfortunately the error insists.<BR>> I have tried every advice you gave me but stiil nothing.<BR>> All the modifications i did are:<BR>> 1)Check the orientation of slashes and i actually tried every possible <BR>> orientation.<BR>> 2)Placed the MAP keyword in the first line of .map file.<BR>> 3)Tried an older version of MapServer (although there is nothing <BR>> different according to the site...).<BR>> <BR>> Perhaps i should try it on linux?<BR>> Does it make any difference at all?<BR>> <BR>> *test.map*<BR>> <BR>> MAP<BR>>     NAME "TEST!!!"<BR>>     SIZE 400 300<BR>>     IMAGECOLOR 249 245 186<BR>>     IMAGETYPE png<BR>>     EXTENT -1.00 -1.00 1.00 1.00<BR>> <BR>>     WEB<BR>>            TEMPLATE "C:\ms4w\Apache\htdocs\test.html"<BR>>            IMAGEPATH "C:\ms4w\Apache\htdocs\tmp"<BR>>            IMAGEURL "/tmp/"<BR>>     END<BR>> <BR>>     LAYER<BR>>            STATUS default<BR>>            TYPE point<BR>>            FEATURE<BR>>                    POINTS 0.0 0.0 END<BR>>                    TEXT "Hello World"<BR>>            END<BR>>            CLASS<BR>>                    STYLE<BR>>                        COLOR 255 0 0<BR>>                    END<BR>>                    LABEL<BR>>                        TYPE bitmap<BR>>                    END<BR>>            END<BR>>        END<BR>> END<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> *test.html<BR>> <BR>> *<html><BR>> <head><title>MapServer Hello World</title></head><BR>> <BR>> <body><BR>> <BR>> <BR>> <form method=POST action="/cgi-bin/mapserv.exe"><BR>>   <input type="submit" value="Click"><BR>>   <input type="hidden" name="MAP" value="C:\ms4w\Apache\htdocs\test.map"><BR>>   <input type="hidden" name="map_web" value="imagepath <BR>> C:\ms4w\Apache\htdocs\tmp\ imageurl /tmp/"><BR>> </form><BR>> <IMG SRC="[img]" width=400 height=300 border=0><BR>> <BR>> <BR>> </body><BR>> </html><BR>> *<BR>> *<BR>> <BR>> <BR>> ------------------------------------------------------------------------<BR>> <BR>> _______________________________________________<BR>> mapserver-users mailing list<BR>> mapserver-users@lists.osgeo.org<BR><BR><BR>_______________________________________________<BR>mapserver-users mailing list<BR>mapserver-users@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR><BR></DIV><br><br><table bgcolor=white style="color:black"><tr><td><br>------------------------------------------------------------------<br>
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.<br>
------------------------------------------------------------------</td></tr></table><br><br>
<P align=center><FONT style="BACKGROUND-COLOR: #ffffff">This message has been scanned for malware by SurfControl plc.  </FONT><A href="http://www.surfcontrol.com/"><FONT style="BACKGROUND-COLOR: #ffffff" color=#000000>www.surfcontrol.com</FONT></A></P>
</body></HTML>