No subject


Fri Feb 8 15:06:04 EST 2008


basic mapserv info as normal.

I copy it to my cgi-bin directory and when I run it I get a whole lot of
garble on the screen. The first few lines look like:

------------
=7FELF=01=02=01=02=02=01=01=C2=A5=C3=944 PH4 =05(=1E=1C=064=014  =05=03=C3=
=94=11=04=01=01=08OV=08OV=05=01=01=08OX OX],l=C2=90=07=01=02=08z=C3=BC
z=C3=BC=01=10=07/usr/lib/ld.so.1=03=C3=9F=03=C3=9A=01=03=05=07=08 =0E=11=13=
=15=17=18=1A=1C=1D=1E=1F
!"#&')+-.012469:;<>@BDEGHIJMPRUVXY\^_`abcdefilnpqrstvxy|}~=7F=C2=81=E2=80=
=9A=C6=92=E2=80=A6=E2=80=A0=E2=80=B9=C5=92=C2=8D=C2=8F=C2=90=E2=80=98=E2=80=
=9D=E2=80=A2=E2=80=94
------------

I have set the permissions correctly. I have other CGI program in the same
directory and they all work ok.

Running Mapserv 4.8.3, Solaris 10, SunFire V250, SUN Webserver 6.1

Some things I have tried:

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:
----------------
/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)
----------------

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.

Any Ideas?

thanks,
Rob

--
View this message in context: http://www.nabble.com/mapserv-CGI-Problems-t1=
847086.html#a5041674
Sent from the Mapserver - User forum at Nabble.com.



More information about the mapserver-users mailing list