CGI et Perl

CGI et Perl

am 01.11.2007 16:07:45 von vincent.marguerit

Hi,

I can't make a perl script works, I get the following error message:

Forbidden
You don't have permission to access /myfotodvd2/cgi-bin/upload.cgi on
this server.

The URL is correct, Perl is installed as I can execute this command:
C:\Documents and Settings\Vincent>perl -e "print 'hello'"
hello

And in the config of EasyPHP, the cgi-bin part is defined:


AllowOverride None
Options None
Order allow,deny
Allow from all


So I don't know how to make it work, does anyone know what I should
do ?

Thanks,
Vincent.

Re: CGI et Perl

am 01.11.2007 18:45:45 von HansH

"Defacta" schreef in bericht
news:1193929665.996186.3440@o80g2000hse.googlegroups.com...
> I can't make a perl script works, I get the following error message:
>
> Forbidden
> You don't have permission to access /myfotodvd2/cgi-bin/upload.cgi on
> this server.
>
>
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
>

>
It might be a good option to allow ExecCGI ...
http://httpd.apache.org/docs/2.2/mod/core.html#options

It would be nicer to have cgi-bin above the documentroot
and scriptaliased.
http://httpd.apache.org/docs/2.2/mod/mod_alias.html#scriptal ias


HansH