1) C:\ms4w\httpd.d\httpd_geomatics.conf #This is the Apache config (httpd_geomatics.conf) file for the MapServer workshop.
Alias /geomatics "/ms4w/apps/geomatics/htdocs" <Directory "/ms4w/apps/geomatics/htdocs"> AllowOverride None Options Indexes MultiViews Includes FollowSymLinks Order allow,deny Allow from all </Directory> 2) C:\ms4w\apps\geomatics\htdocs\hello.map MAP NAME "Hello_World" SIZE 400 300 IMAGECOLOR 249 245 186 IMAGETYPE png EXTENT -1.00 -1.00 1.00 1.00 WEB TEMPLATE 'hello.html' IMAGEPATH '/ms4w/tmp/ms_tmp/' IMAGEURL '/ms_tmp/' END LAYER NAME hello STATUS default TYPE point FEATURE POINTS 0.0 0.0 END TEXT "Hello World" END # end feature CLASS STYLE COLOR 255 0 0 END LABEL TYPE bitmap END END END END 3)C:\ms4w\apps\geomatics\htdocs\hello.html <html> <head> <title>Hello World</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> <table align="center" width="900" border="0"> <tr> <td> <form name="mapserv" method="GET" action="/cgi-bin/mapserv.exe"> <!-- HIDDEN MAPSERVER CGI VARIABLES --> <input type="submit" value="Click Me"> <input type="hidden" name="map" value="C:/ms4w/apps/geomatics/htdocs/hello.map"> <input type="hidden" name="layer" value="hello"> <input type="hidden" name="mode" value="browse"> <div align="center"> <table border="1" cellpadding="0" cellspacing="0"> <tr> <td> <!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP --> <input type="image" name="img" src="[img]" width="400" height="300"> </td> </tr> </table> </div> </form> </td> </tr> </table> </body> </html> good luck -- View this message in context: http://n2.nabble.com/msLoadMap-Unable-to-access-file-tp1971168p4727322.html Sent from the Mapserver - User mailing list archive at Nabble.com. _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users