You have not told Apache that cgi's are present in that directory.
I have modified your <Directory> below by adding execCGI to Options
#
# "C:/Programme/Apache Group/Apache/cgi-bin" should be changed to whatever your
ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:\www\cgi-bin">
AllowOverride None
Options execCGI
Order allow,deny
Allow from all
</Directory>
Additionally if you are going to run mod_perl (will accelerate the execution of your
Perl scripts you will need to:
Add LoadModule perl_module modules/mod_perl.so (or uncomment it if already present)
and add this alias to allow the module to handle the scripts.
Alias /perl/ C:/Apache/cgi-bin/
<Location /perl>
AllowOverride none
SetHandler perl-script
PerlHandler Apache::Registry
Options execCGI
Order deny,allow
allow from all
</Location>
Finally you will call your scripts from /perl/ example:
http://www.anybody.com/perl/test.pl
Good Luck
---------- Original Message ----------------------------------
From: [EMAIL PROTECTED]
Date: Thu, 10 May 2001 06:54:12 +0200 (MEST)
>Hello,
>
>I installed a webserver "Apache" on my Workstation, the OS is Windows NT4.0
>and have a Perl version
>5.0.3
>
>My problem is, that I can not execute CGI - SCRIPTS.
>
>I get the error message:
>
>Forbidden
>You don't have permission to access /cgi-bin/1st-cgi.pl on this server.
>
>Apache/1.3.12 Server at fn0676.zff.zf-group.de Port 3000
>
>I edit the http.conf file, you can see it:
>
>
>
>Thank´s a lot..
>
>Hasan
>
>--
>GMX - Die Kommunikationsplattform im Internet.
>http://www.gmx.net
>
--
LT Barry Elk
VFC-12 OPSO/SecMgr/ISSM
--