Re: execute un script cgi
salut,
j'ai bien ca dans mon httpd.conf:
***********************************************************
...
ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/"
ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin.default/qmaildadmin/"
...
<Directory "/usr/local/www/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
...
AddHandler cgi-script .cgi
...
******************************************************************
les logs me dit ca :
[notice] Apache/1.3.26 (Unix) configured -- resuming normal operations
[Wed Nov 6 15:33:05 2002] [notice] Accept mutex: flock (Default: flock)
[Wed Nov 6 15:33:16 2002] [error] [client 62.212.99.148] Options ExecCGI is off in this directory: /usr/local/www/data/qmailadmin.cgi
quand j'essaye avec mon navigateur l'url http://localhost/qmailadmin.cgi
il dit :" You don't have permission to access /qmailadmin.cgi on this server"
je comprend pas :(
> Francois Sauterey <Francois@Sauterey.org> écrivait le 06/11/02 à 07h34 :
> >Le 19:45 04/11/02 +0100, Pobel Damien nous a écrit :
> >il faut que tu modifie ton httpd.conf,
> >...
> ---end quoted text---
>
> Sans oublier de décommenter la ligne :
> AddHandler cgi-script .cgi .sh .pl
>
> Sa petite soeur existe aussi pour php :
> AddType application/x-httpd-php .php .php3 .php4 .phtml
>
>
> Chrys
> --
> Christian Maisonnave http://www.maisonnave.org/ christian@maisonnave.org
> 250 Chemin de Régine GPG Key : http://www.maisonnave.org/christian/gpg.txt
> 34400 Lunel Viel uin : 9015581 T: 33 6 81 20 46 08
>
>
> --
> To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: