erreur : 500 Internal server Error
j'ai eu cette erreur après avoir exécuter ces script:
erreur:
Code:
1 2 3 4 5 6 7 8
| Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@adm.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.3 (Red Hat) Server at www.monsite.com Port 80 |
bonjour.html
Code:
1 2 3 4 5 6
| <form action="http://www.monsite.com/bonjour.pl"
METHOD=POST>
<b>Quel est votre nom ?</b>
<input type=text name=nom>
<input type=submit value="Allons-y">
</form> |
bonjour.pl
Code:
1 2 3 4 5 6 7
| #!/usr/bin
use CGI_Lite; # Utilisation d'un module CGI
my $cgi=new CGI_Lite; # Nouveau CGI
my %in = $cgi->parse_form_data; # Lecture des parametres
print "Content-type: text/html\n\n"; # Header indispensable
# Corps du programme
print "<h1>Bonjour $in{'nom'} !</h1>"; |
merci d'avance pour l'aide !
oui je suis chez netissime
mon hébergeur est netissime.com