newbie installation

Frank Koormann frank.koormann at intevation.de
Thu Oct 19 12:13:37 EDT 2000


Hi Matt, All,

* Matt.Wilkie (Matt.Wilkie at gov.yk.ca) [001019 01:01]:
> Hi,
> 
[...]
> 
> I untarred ms_demo.tar.gz to /var/www/htdocs/ms_demo,
> The only change I made to ms_demo/demo.map:
> 	IMAGEPATH "/var/www/htdocs/tmp/"
> (htdocs/tmp exists)
> 	LOG "/var/www/logs/ms_demo.log"
> (which doesn't seem to log anything)

You also have to change the SHAPEPATH (to something absolute)
and the IMAGEURL tags.

> 
> Pointing a browser at http://host/ms_demo/demo_init.html
> and slapping the 'initialize' button yields:
> 	msLoadMap(): Unable to access file. (/ms_demo/demo.map)

The path to the demo.map must be absolute, i.e.
/var/www/htdocs/ms_demo/demo.map 
in your case

> Apache doesn't log this error though I do get a bunch of
> "File does not exist" if I load demo.html:
> 	[Wed Oct 18 14:55:21 2000] [error] [client 199.247.173.70] \
> 	File does not exist:/var/www/htdocs/ms_demo/[ref]

You can not load the demo.html directly since it is a template file.

Hope this helps.

Kind regards,

        Frank

-- 
Frank Koormann                              http://intevation.net/~frank/
 Professional Service around Free Software         http://intevation.net/
 FreeGIS Project                                   http://freegis.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 236 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20001019/6078fd66/attachment.bin


More information about the mapserver-users mailing list