CGI et Perl

This is a discussion on CGI et Perl within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, I can't make a perl script works, I get the following error message: Forbidden You don't have ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-01-2007
Defacta
 
Posts: n/a
Default 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.

  #2 (permalink)  
Old 11-01-2007
HansH
 
Posts: n/a
Default Re: CGI et Perl

"Defacta" <vincent.marguerit@gmail.com> schreef in bericht
news:1193929665.996186.3440@o80g2000hse.googlegrou ps.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...ml#scriptalias


HansH


  #3 (permalink)  
Old 03-11-2008
Rich Grise
 
Posts: n/a
Default Re: CGI et Perl

On Thu, 01 Nov 2007 18:45:45 +0100, HansH wrote:
> "Defacta" <vincent.marguerit@gmail.com> schreef in bericht
>
>> 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...ml#scriptalias
>


Well, halleluja for archives! I came looking for exactly this
answer, and found it in less than a second. :-)

Thanks!
Rich

 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0