[mapserver-users] how to make the mapserv cgi work

Blaise Picinbono bpicinbono@esquirolcad.fr
Mon, 2 Sep 2002 11:25:49 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C25273.7D62D160
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi the list

help wanted

I'm fine with mapserver cgi working on my local server (windows and =
linux).
Now, Iwant to make it work on my internet site.
As the web server is running under Linux, I compile mapserver_361 (I =
tried also with mapserver_362)
(./configure, make) and I put the result mapserv to my cgi-bin =
directory.
When I hit the cgi (http://www.mydomain/cgi-bin/mapserv), I've got a =
window telling me if I want to open or download the file. I think it is =
because without any extension, the server doesn't understand the script =
tobe an executable.
So I change the name to mapserv.cgi; and now the sever answer me "The =
server encountered an internal error or misconfiguration and was unable =
to complete your request".
I made sure that the cgi-bin repertory isreadable and executable for =
everybody, as well as my mapserv (or mapserv.cgi) file.
I'm wondering if the trouble come from the fact my server only work with =
perl script and mapserv is not written in perl.
Is it true ? Is mapserv a perl script ? If not, in which langage is it =
written ?
Do you have any information about installing mapserver on remote =
internet sever ?

thanks in advance
Blaise

-------------------------------------------------
bpicinbono@esquirolcad.fr
-------------------------------------------------

------=_NextPart_000_0005_01C25273.7D62D160
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi the list</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>help wanted</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm fine with mapserver cgi working on =
my local=20
server (windows and linux).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Now, Iwant to make it work on my =
internet=20
site.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>As the web server is running under =
Linux, I compile=20
mapserver_361 (I tried also with mapserver_362)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(./configure, make) and I put the =
result mapserv to=20
my cgi-bin directory.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>When I hit the cgi (<A=20
href=3D"http://www.mydomain/cgi-bin/mapserv">http://www.mydomain/cgi-bin/=
mapserv</A>),=20
I've got a window telling me if I want to open or download the file. I =
think it=20
is because without any extension, the server doesn't understand the =
script tobe=20
an executable.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So I change the name to mapserv.cgi; =
and now the=20
sever answer me "The server encountered an internal error or =
misconfiguration=20
and was unable to complete your request".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I made sure that the cgi-bin repertory =
isreadable=20
and executable for everybody, as well as my mapserv (or mapserv.cgi)=20
file.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm wondering if the trouble come from =
the fact my=20
server only work with perl script and mapserv is not written in=20
perl.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is it true ? Is mapserv a perl script ? =
If not, in=20
which langage is it written ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Do you have any information about =
installing=20
mapserver on remote internet sever ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>thanks in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Blaise</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>-------------------------------------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:bpicinbono@esquirolcad.fr">bpicinbono@esquirolcad.fr</A></=
FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>-------------------------------------------------</FONT></DIV></=
BODY></HTML>

------=_NextPart_000_0005_01C25273.7D62D160--