/var/www is chmod 755 -R

...

C
:)




 On Thu, 2002-08-01 at 11:18, Bjorn Nilsen wrote:
> It mail be the read attribute try "chmod 755 first.pl". also make sure that
> ExecCGI is enable for the /cgi-bin/ directory and that the cgi-bin dir has
> the perms 755 as well.
> 
> In case you don't understand the number notation for perms this is how it
> works (otherwise please ignore):
> 
> 1 = execute
> 2 = write
> 4 = read
> 
> permissons are set for user, group and world,
> with the permission setting of 755
> user = 7 = 1+2+4 = execute write read
> group = 5 = 1+4 = execute read
> world = 5 = 1+4 = execute read
> 
> I find this system easier then using "chmod u+x", but that could be just me.
> 
> ----- Original Message -----
> From: "Chris Bayley" <[EMAIL PROTECTED]>
> 
> > I have have an out of the box apache install from Mandrake 8.2, I am
> > trying to get some CGI going but get this on the browser:
> >
> > Forbidden
> > You don't have permission to access /cgi-bin/first.pl
> > on this server.
> >
> > And this from the log:
> > [error][client 127.0.0.1] client denied by server configuration:
> > /var/www/cgi-bin/first.pl
> >
> > I guess it's to do with per-directory configs as first.pl runs from
> > /var/www/perl/ ok
> >
> > I just don't know what I'm looking for yet.....
> >
> > everything in cgi-bin has a+x
> >
> > ChrisB
> > : )
> >
> >
> >
> 


Reply via email to