[Mapserver-users] localhost works but using IPaddress givesblackimages

Ed McNierney ed at topozone.com
Tue Jun 1 10:40:39 PDT 2004


John -

If you are running the Itasca demo (more or less) and the client is
retrieving pages that have BLACK images (rather than missing or blank
ones), but the rest of the HTML page looks normal, then there's nothing
wrong with the IP address.  If the client could not access the server
you would get no page at all.

A BLACK image typically means that there is no cartographic data
displayed in the extents requested, and you're seeing the black
background created by an IMAGECOLOR 0 0 0 in the MAP file.  If you're
getting black images, then MapServer is working correctly and is hard at
work generating and serving black pictures to you <g>.

So....  What map extents are the client requesting?  Is the
"initialization" of the demo the same on the client and on the server?

What is the URL in the browser when the black image appears?  Compare it
to the (complete) URL on the server when the correct map appears.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of John Wiley
Sent: Tuesday, June 01, 2004 1:15 PM
To: TMitchell at lignum.com; mapserver-users-admin at lists.gis.umn.edu
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] localhost works but using IPaddress
givesblackimages

Hi Tyler,
To describe our situation a little more...
Basically its the Itasha demo that I re-invented to Parksville... as I
have a basic understanding of HTML.
Yes, we are only using IIS as the web server throughout and only using
windows client web browsers (just me).  Currently I am just using two
computers to test on.
After changing the (All Unassigned) to the IP address on the Gisserver
in the Default Web Properties/Web Site dialog, the "Browser" address
works with  the IP address as well as "Localhost" on the Gisserver fine
which displays the maps...however the "client" browser still displays
black images when connecting to the Gisserver using the IP address.
Going to download complied binary for png instead of gif as suggested by
Randy ... also I'm BackCopying our IT professional John Rice who is now
helping me on site.  He was asking if there are any Frontpage extension
issues as we are using version 2000 not 2003 and if there were any other
IIs setting that may be javascript issues. 

Thanks,
John Wiley  

>>> Tyler Mitchell <TMitchell at lignum.com> 05/31/04 03:58pm >>>
I think I understand - perhaps you can describe your setup a bit more so
we know how you've got things running.
Also, can you confirm that you are only using IIS as the web server
throughout?  And that you are using windows client web browsers.

Tyler

"John Wiley" <JWiley at city.parksville.bc.ca> wrote on 05/31/2004 03:58:11
PM:

> Either computer will run using localhost in the address ie.http:
> //localhost/parksville/pville_init.html within itself but not using an

> ip specific such as ie.
http://205.233.104.228/Parksville/Pville_init.html 
> . from a "client" to the "gisserver"
> I hope i'm explaining this okay.
> 
> John
> 
> >>> Tyler Mitchell <TMitchell at lignum.com> 05/31/04 03:38pm >>>
> Just to confirm - does it run fine from any machine - i.e. locally on
the 
> server?
> 
> Tyler
> 
> mapserver-users-admin at lists.gis.umn.edu wrote on 05/31/2004 02:50:55
PM:
> 
> > I hope there is an easy solution here and I promise to help others 
> > in my steps!...
> > Once I got the second computer working with Mapserver using 
> > "localhost" then changing to point to an IP address using a remote 
> > computer browser hitting the ip address of the "gisserver"... which 
> > does run the program and writes the GIF files to the tmp directory 
> > however I get the "black" images again!.  The server is writing them

> > okay...on the /temp directory... just not being displayed on the 
> > client's browser.... any suggestions? I checked permissions and II2 
> > settings ... and still no luck.
> > 
> > John Wiley,
> > Gis Technician
> > 
> > 
> 

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users






More information about the MapServer-users mailing list