You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Sean O'Halpin <se...@bamberforsyth.com> on 2001/06/29 12:12:26 UTC

RE: Apache et perl

Guillaume,

Just this once, I have translated your message for you.
Please bear in mind that most of the people on this list
can understand only English!
Any volunteers for translating the replies?

HTH

Sean

START OF MESSAGE

I've installed Apache 1.3.12, Perl 5.6.0 under Mandrake 8.0
I have the following HTML page (without the <>) (in
/var/www/html):

html head title Page de Test /title
meta name="author" content="denizot"
/head
body
form action="../cgi-bin/base.pl" method="GET"
input type="Text" name="saisie" value="" size="10"
/form
/body /html

and the following perl script (in /var/www/cgi-bin):

#!/usr/bin/perl -w
# base.pl

printf "Content-type: text/html\n\n";
print "Doesn't work\n";


I've modified httpd.conf to make /var/www/cgi-bin a
Directory with Options ExecCGI.

When I type in http://name_of_host and press Enter,

a HTML Internal ERROR page is displayed.
However, when I enter http://ip_address and try the
same thing,
a "Save As..." window appears.
Is there anyone who has the same problem or knows how to resolve it?

END OF MESSAGE

-----Original Message-----
From: Guillaume Denizot [mailto:guillaumedenizot@caramail.com]
Sent: 29 June 2001 12:26
To: modperl@apache.org
Subject: Apache et perl


J'ai installé Apache 1.3.12, Perl 5.6.0 sous Mandrake 8.0.
J'ai la page HTML suivante (sans les <>) (dans
/var/www/html):

html head title Page de Test /title
meta name="author" content="denizot"
/head
body
form action="../cgi-bin/base.pl" method="GET"
input type="Text" name="saisie" value="" size="10"
/form
/body /html

et le script perl (dans /var/www/cgi-bin) suivant:

#!/usr/bin/perl -w
# base.pl

printf "Content-type: text/html\n\n";
print "ca marche pas\n";

J'ai modifie httpd.conf pour que /var/www/cgi-bin soit un
Directory avec Options ExecCGI.

Lorsque je tape http://nom_de_host et que je presse Enter
apres la saisie,
une page HTML Internal ERROR me saute au yeux.
Par contre, lorsque je tape http://adresse_ip et que je fais
la meme manip,
une fenetre "Enregistrer sous..." apparait.
Quelqu'un a-t-il eu le meme probleme ou comment le resoudre?
_________________________________________________________
Le journal des abonnés Caramail - http://www.carazine.com