RE: Apache - (Erreur 500)

Top Page

Reply to this message
Author: Fabien Blanc-Paques
Date:  
To: guilde
Subject: RE: Apache - (Erreur 500)
salut,

modifies cette ligne, ca devrait mieux fonctionner:
content-type: text/html     (original)
content-type: text/html\n\n    (modifie)
--fabien.



Lorsque de réclame un script CGI à mon serveur Apache, il me renvoi
l'erreur suivant:(Erreur 500)

Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, root@workgroup and inform them of
the time the error occurred, and anything you might have done that may have
caused
the error.

>>> Comment faire ??? <<<


Config: Apache/1.3.6 Serveur Port 80
Linux SuSE 6.2

Script CGI:
tmp='/bin/date'
cat << EndFile
content-type: text/html
<HTML><HEAD><TITLE>Script CGI</TITLE></HEAD>
<BODY>
<CENTER>
La date courante du serveur est:
$tmp
</CENTER>
</BODY>
</HTML>
EndFile