<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Thanks for your help! ;)<br>
<br>
JPEG format weighs less than PNG or GIF, I use some high-quality orthos<br>
<br>
Thanks for your answers, again ;)<br>
<br>
P Kishor escribi&oacute;:
<blockquote
 id="mid_cdf6db500804020511l6415930bi19afce77e6819e0d_mail_gmail_com"
 cite="mid:cdf6db500804020511l6415930bi19afce77e6819e0d@mail.gmail.com"
 type="cite">
  <pre wrap="">On 11/2/07, Ignacio J. Moratiel <a class="moz-txt-link-rfc2396E" href="mailto:imoratiel@tecnosylva.com">&lt;imoratiel@tecnosylva.com&gt;</a> wrote:
  </pre>
  <blockquote id="StationeryCiteGenerated_1" type="cite">
    <pre wrap=""> Apache error log :

 [Tue Apr 01 14:12:30 2008] [error] [client 80.59.*.*]
/srv/www/cgi-bin/mapserv: symbol lookup error: /srv/www/cgi-bin/mapserv:
undefined symbol: gdImageJpegCtx, referer:
<a class="moz-txt-link-freetext" href="http://www.dipuleon.es/atica/portada_turcia.html">http://www.dipuleon.es/atica/portada_turcia.html</a>
 [Tue Apr 01 14:12:30 2008] [error] [client 80.59.*.*] Premature end of
script headers: mapserv, referer:
<a class="moz-txt-link-freetext" href="http://www.dipuleon.es/atica/portada_turcia.html">http://www.dipuleon.es/atica/portada_turcia.html</a>

 I tried PNG, it works fine, but JPEG returns 500 error
    </pre>
  </blockquote>
  <pre wrap=""><!---->
there you go. You solved it yourself (with a little nudge from me and
a big nudge from your error log).

If you insist on using Jpeg, recompile the program correctly (it seems
that your mapserv does claim that it supports jpeg, but I don't know
what is going on there), else use PNGs or GIFs. Should keep you busy
for a while.

Good luck.


  </pre>
  <blockquote id="StationeryCiteGenerated_2" type="cite">
    <pre wrap="">

 P Kishor escribi&oacute;:
 On 4/2/08, Ignacio J. Moratiel <a class="moz-txt-link-rfc2396E" href="mailto:imoratiel@tecnosylva.com">&lt;imoratiel@tecnosylva.com&gt;</a> wrote:


 I've compiled and installed mapserver on Suse 10.0 and mapserv file is on
cgi-bin directory. When I try to run the scripts I get a 500 internal error
message.

 I can read on this page
<a class="moz-txt-link-freetext" href="http://mapserver.gis.umn.edu/docs/howto/compiling_on_unix">http://mapserver.gis.umn.edu/docs/howto/compiling_on_unix</a>

 500 Internal server error: This is a fairly generic error message. All it
basically tells you is that the web server was unsuccessful in running the
program. You will have to consult the web server's error log to find out
more, and may need to enlist the help of your webmaster/system administrator

 well, what does your Apache error_log say? Did you check the logfile?




 Mapserver creates a 0 bytes image in temp directory, and returns 500 error,
so I think Apache is running program but mapserver fails.

 mapserv -v returns:
 MapServer version 4.8.4 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

 Is there any way to check mapserv script is compiled ok? Should I check
other things?

 Thanks for your help

    </pre>
  </blockquote>
</blockquote>
<br>
</body>
</html>