No subject
Mon Oct 7 05:54:23 PDT 2024
basic mapserv info as normal.=20
---------------------------------------=20
bash-3.00# ./mapserv=20
This script can only be used to decode form results and=20
should be initiated as a CGI process via a httpd server.=20
bash-3.00# ./mapserv -v=20
MapServer version 4.8.3 OUTPUT=3DGIF OUTPUT=3DPNG OUTPUT=3DJPEG OUTPUT=3DWB=
MP
OUTPUT=3DPDF OUTPUT=3DSVG SUPPORTS=3DPROJ SUPPORTS=3DFREETYPE SUPPORTS=3DWM=
S_SERVER
SUPPORTS=3DWMS_CLIENT SUPPORTS=3DWFS_CLIENT INPUT=3DTIFF INPUT=3DEPPL7 INPU=
T=3DOGR
INPUT=3DGDAL INPUT=3DSHAPEFILE DEBUG=3DMSDEBUG=20
---------------------------------------=20
I copy it to my cgi-bin directory and when I run it thourgh my web-browser =
I
get a whole lot of garble on the screen. The first few lines look like:=20
------------=20
=7FELF=01=02=01=02=02=01=01??4 PH4 =05(=1E=1C=064=014 =05=03?=11=04=01=01=
=08OV=08OV=05=01=01=08OX OX],l?=07=01=02=08z?
z?=01=10=07/usr/lib/ld.so.1=03?=03?=01=03=05=07=08 =0E=11=13=15=17=18=1A=1C=
=1D=1E=1F
!"#&')+-.012469:;<>@BDEGHIJMPRUVXY\^_`abcdefilnpqrstvxy|}~=7F??????????????=
=20
------------=20
I have set the permissions correctly. I have other CGI program in the same
directory and they all work ok.=20
Running Mapserv 4.8.3, Solaris 10, SunFire V250, SUN Webserver 6.1=20
Some things I have tried:=20
1. All my cgi programs have extn .cgi, so I changed the mapserv to
mapserv.cgi. I have CGI enabled and as a filetype on my webserver. When I d=
o
this I get an internal error. Webserver Error logs report:=20
----------------=20
/software/cgi-bin/mapserv.cgi, cgi_scan_headers reports: HTTP4044: the CGI
program /docs/software/cgi-bin/mapserv.cgi did not produce a valid header
(program terminated without a valid CGI header. Check for core dump or othe=
r
abnormal termination)=20
----------------=20
I am guessing something is wrong with my webserver config somewhere but I d=
o
not know where to start as my other cgi apps work fine.=20
If anyone could please point me in the right direction of where I should be
looking to get mapserver working properly that would be greatly appreciated=
.
thanks,=20
Rob=20
--=20
View this message in context: http://www.nabble.com/Mapserver-Compilation-C=
GI-Problems-tf1921945.html#a5262310
Sent from the Mapserver - User forum at Nabble.com.
More information about the MapServer-users
mailing list