<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
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
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
different according to the site...).<br>
<br>
Perhaps i should try it on linux?<br>
Does it make any difference at all?<br>
<br>
<big><b>test.map</b></big><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>
<big><b>test.html<br>
<br>
</b><small>&lt;html&gt;<br>
&lt;head&gt;&lt;title&gt;MapServer Hello
World&lt;/title&gt;&lt;/head&gt;<br>
<br>
&lt;body&gt;<br>
<br>
<br>
&lt;form method=POST action="/cgi-bin/mapserv.exe"&gt;<br>
  &lt;input type="submit" value="Click"&gt;<br>
  &lt;input type="hidden" name="MAP"
value="C:\ms4w\Apache\htdocs\test.map"&gt;<br>
  &lt;input type="hidden" name="map_web" value="imagepath
C:\ms4w\Apache\htdocs\tmp\ imageurl /tmp/"&gt;<br>
&lt;/form&gt;<br>
&lt;IMG SRC="[img]" width=400 height=300 border=0&gt;<br>
<br>
<br>
&lt;/body&gt;<br>
&lt;/html&gt;</small><br>
<b><br>
</b></big>
</body>
</html>