bonjour a tous...
je n arrive pas a faire fonctionner les script CGI sur mon serveur . Dans mon httpd.conf j ai mis cela
<VirtualHost 127.0.0.1>
ServerAdmin webmaster@cashauto
DocumentRoot /home/cashauto
ScriptAlias /cgi-bin "/home/cashauto/cgi-bin/"
ScriptLog Logs/cashauto-error-log
ServerName cashauto
ErrorLog logs/cashauto-error_log
CustomLog logs/cashauto-access_log common
</VirtualHost>
<Directory /home/cashauto/cgi-bin/>
Options ExecCGI
Order Allow,deny
Allow from all
</Directory>
J ai bien crée le répertoir cgi-bin a qui j ai attribué des droits 777 mais quand j essaye d executer mon script en tappant
http://dechraoui.fr/cashauto/cgi-bin/essai.cgi le script ne s execute pas je le vois juste aparaitre dans mon navigateur
(vous n avez cas essayer pour voir si il nest pas trop tard hé oui je dois eteindre mon pc a cause du bruit) si c est le cas voila ce que ca met
#! /usr/bin/perl -w
use CGI qw(:standard);
print header, start_html("essai.cgi"),h1("hello");
j ai essayé a vec d autres scripts qui marchent mais ca ne donne rien
quelqu un aurait il une idée pour me sortire de la ?
merci