CGI et Perl

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:

<Directory "${path}/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

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

Thanks,
Vincent.
vincent.marguerit [ Do, 01 November 2007 16:07 ] [ ID #1860008 ]

Re: CGI et Perl

"Defacta" <vincent.marguerit [at] gmail.com> schreef in bericht
news:1193929665.996186.3440 [at] 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.
>
> <Directory "${path}/cgi-bin">
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
> </Directory>
>
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
HansH [ Do, 01 November 2007 18:45 ] [ ID #1860011 ]
Webserver » alt.apache.configuration » CGI et Perl

Vorheriges Thema: Apache/Mod_Perl Query
Nächstes Thema: Apache domain best practice??