Do you want the map to be displayed in a html page, or do you just need the pic?<br><br>In the latter case, you could try to just query the following link: <br><a href="http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/ms4w2/apps/tutorial/htdocs/basic.map&amp;layer=states&amp;zoom=0&amp;mode=browse&amp;root=/tutorial&amp;program=/cgi-bin/mapserv.exe&amp;map_web=template+basic.html" target="_blank">http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/ms4w2/apps/tutorial/htdocs/basic.map&amp;layer=states&amp;mode=map</a><br>
<br>I also suggest you use the typical hello world to test and try your mapserver (and get a feel for it). Depending on what your ultimate goal is, you may or may not need the web templates at all.<br><br>This would be a simple sample of a hello world map:<br>
<br>MAP<br> NAME &quot;Hello_World&quot;<br> SIZE 400 300<br> IMAGECOLOR 249 245 186<br> IMAGETYPE png<br> EXTENT -1.00 -1.00 1.00 1.00<br><br> LAYER<br>        STATUS default<br>        TYPE point<br>        FEATURE<br>                POINTS 0.0 0.0 END<br>
                TEXT &quot;Hello World&quot;<br>        END # end feature<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>Considering its named hello.map, you&#39;d get an image by browsing to <br><a href="http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/ms4w2/apps/tutorial/htdocs/basic.map&amp;layer=states&amp;zoom=0&amp;mode=browse&amp;root=/tutorial&amp;program=/cgi-bin/mapserv.exe&amp;map_web=template+basic.html" target="_blank">http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/ms4w2/apps/helloworld/hello.map&amp;mode=map</a><br>
<br>(Don&#39;t forget to add the helloworld map in the apps directory)<br><br><br><br><br><div class="gmail_quote">On 16 August 2010 08:27, Gupta <span dir="ltr">&lt;<a href="mailto:gupta532@gmail.com">gupta532@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br clear="all">Hi all,<div>I am new to MAp server . i understood mapserver functionalities using the tutorial.now i want to create a map using image and shape file.when tried to use it.i am getting following error.</div>
<div>
<br></div><div><span style="font-family: &#39;Times New Roman&#39;; font-size: medium;">loadWeb(): General error message. URL-based TEMPLATE configuration failed pattern validation. msEvalRegex(): Regular expression error. String (basic.html) failed expression test.</span></div>

<div><span style="font-family: &#39;Times New Roman&#39;; font-size: medium;"><br></span></div><div><span style="font-family: &#39;Times New Roman&#39;; font-size: medium;">my local URL is:</span><a href="http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/ms4w2/apps/tutorial/htdocs/basic.map&amp;layer=states&amp;zoom=0&amp;mode=browse&amp;root=/tutorial&amp;program=/cgi-bin/mapserv.exe&amp;map_web=template+basic.html" target="_blank">http://127.0.0.1/cgi-bin/mapserv.exe?map=c:/ms4w2/apps/tutorial/htdocs/basic.map&amp;layer=states&amp;zoom=0&amp;mode=browse&amp;root=/tutorial&amp;program=/cgi-bin/mapserv.exe&amp;map_web=template+basic.html</a></div>

<div><br></div><div>actually i changed example2.2 file to basic.and in mapfile i placed my image.</div><div><br></div><div>please let me know what i need to change to get output.</div><div><br></div><div>Thanks and Regards,</div>

<div>Kishor Gupta.<br>Project Engineer,<br>CDAC,Bangalore,</div><div>INDIA.<br>Ph.no:09538722172<br>If a drop of water falls on lake, it loses its identity.<br><br>If it falls on a rose, it shines.<br><br>If it falls on a shell, it becomes a pearl.<br>

<br>The drop is the same but the company matters<br><br><br>
</div>
<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br>