[MS4W-Users] WMS_ONLINERESOURCE link
Jeff McKenna
jmckenna at gatewaygeomatics.com
Fri Nov 16 12:52:10 EST 2012
On 12-11-16 1:06 PM, José Pedro Santos wrote:
> Dear all,
>
> I have one mapfile with WMS standart but when I try to use the
> wms_onlineresource gives me the error: msLoadMap(): Unable to access
> file. (var/www/test.map)
>
> The wms_onlinesource is:
> http://localhost/cgi-bin/mapserv?map=var/www/test.map&
>
> When I put the path complete (with GetMap, layers, styles...etc) works
> fine without errors but with the wms_onlinesource don't work. Do you
> know why is that? I'm in doing something wrong?
>
> Best Regards,
> Jose Santos
>
Steve already answered, but I wanted to mention that:
Unfortunately MapServer does not produce a warning in the
GetCapabilities response if you specify an incorrect onlineresource in
your mapfile.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MS4W-Users
mailing list