Map image created but won't display

Alan Hale alan.hale at BTCLICK.COM
Fri Jun 15 18:45:30 EDT 2007


> -----Original Message-----
> From: Gregor Mosheh [mailto:gregor at hostgis.com] 
> Sent: 15 June 2007 22:05
> To: Alan Hale
> Subject: Re: [UMN_MAPSERVER-USERS] Map image created but won't display
> 
> 
> > Mapserv will write the images back to the /tmp/directory OK, and 
> > returns the correct image_url to hello.html, so the html looks like 
> > this: <img src="/tmp/Hello_World118193937715913.png" width=400 
> > height=300 border =0> But the image does not display (a 
> broken image 
> > icon appears).
> 
> Interesting. But if you paste the URL into a browser, what happens?
>    http://your_server_address/tmp/Hello_World118193937715913.png
> If it gives anything other than an image, check the webserver's error 
> log and that should nail the problem.
> 
> I've noticed in my brief and unpleasant experiences with 
> Plesk's virtual 
> domains, that Plesk makes a lot of behind-the-scenes assumptions and 
> shortcuts about URLs. So it's possible that the directory being named 
> "tmp" is itself part of the problem, and you may have better 
> luck naming 
> it something else like "tmpimages"
> 
> -- 
> Gregor Mosheh / Greg Allensworth
>

Many thanks for the quick responses. I tried pasting the URL directly
into does display the image as suggested, and it does display the image
OK.

I also tried changing the name of the tmp directory, to no avail.

I am sure you are right though and this is something to do with Plesk.
I've posted the issue on one of the Plesk forums but had no response.

Regards

Alan Hale
Aberystwyth
Wales

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.16/849 - Release Date:
14/06/2007 12:44
 



More information about the mapserver-users mailing list