Hi!

I am trying to setup mod_perl on my server. I have apache 1.3.29 and 
mod_perl 1.27-r4 (on a Gentoo box). 

Here is the relevant section of commonapache.conf:

<IfModule mod_perl.c>
    PerlModule Apache::Registry

    #set Apache::Registry Mode for /perl Alias
    <Location /perl/>
        SetHandler perl-script
        PerlHandler Apache::Registry
        Options +ExecCGI
        Allow from all
        PerlSendHeader On
    </Location>
</IfModule>

with the /perl/ alias defined like this:

Alias /perl/ /var/www/localhost/perl/

I've made an example script named test.pl and I've put it 
in /var/www/localhost/perl. I have made it executable. However, when I 
try to execute it, I get the following: 

Forbidden

 You don't have permission to access /perl/test.pl on this server.

and in apache error log:

[Fri Mar 12 23:09:01 2004] [error] [client 192.168.0.2] client denied by 
server configuration: /var/www/localhost/perl/test.pl

Can you please tell me what am I missing here? 

Thanks!

-- 
Stelian Iancu
[EMAIL PROTECTED]

Be different. Think.

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to