| |||||
| Dernière réponse | |
|---|---|
| Sujet : appache et perl sous win | |
| prospero | Vérifie que le chemin de ton rep cgi-bin est correct dans le fichier de config httpd.conf, c'est dans cette partie :
# # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "D:/Program Files/Apache Group/Apache/cgi-bin/" # # "D:/Program Files/Apache Group/Apache/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # <Directory "D:/Program Files/Apache Group/Apache/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> </IfModule> # End of aliases. ensuite vérifie bien qu'en haut de tes scripts tu as une ligne du type : #!d:\perl\bin\perl.exe (ton chemin vers perl sous windows) et non pas #!#!/usr/bin/perl (commande Unix) |
| Vue Rapide de la discussion |
|---|