J'ai du mal la, j'ai chercher partout et rien a faire, j'ai toujours la meme erreur lorsque je lance un script perl.
and dans le log j'aiInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, chakal@if-faw.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/1.3.29 Server at localhost Port 80
Je precise tout de meme que perl s'execute correctement dans le Shell[Wed May 12 22:11:52 2004] [error] [client 127.0.0.1] malformed header from script. Bad header=elles: d:/work/perl/test.pl
Voici mon script
bref dans le shell ca me retourne "elles" et pour localhost, l'erreur ci dessus
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3 #!C:/Perl/bin/perl.exe $femme{"truc"}=["elle", "elles"]; print $femme{"truc"}[1],"\n";
bref, dans mon httpd.conf j'ai inscrit toute les chose suivant
normalement je croit qu'il devrait y avoir la ligneLoadFile c:\perl\bin\perl58.dll
<Directory "D:/work/perl">
AllowOverride None
Options all MultiViews
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi .pl
mais si je le fait j'obtient l'erreur suivant
Code : Sélectionner tout - Visualiser dans une fenêtre à part LoadModule perl_module modules/mod_perl.so
alors que le fichier est bien la :
bref je sais pas quoi faire et j'ai besoin de votre aide
Partager