> De: Doug McNutt <douglist@xxxxxxxxxxxxxxx> > Assunto: Re: cgi-bin subdirectories > Para: users@xxxxxxxxxxxxxxxx > Data: Segunda-feira, 14 de Maio de 2012, 23:13 > At 16:03 -0700 5/14/12, Téssio > Fechine wrote: > >Hello, > >I am having a problem with subdirectories in cgi-bin. > >Scripts like 'cgi-bin/user.pl' executes fine, but if I > move it to 'cgi-bin/something/user.pl' it stops working. > > > >I'm using the default centos-5.8 httpd.conf file: > > > >ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > > > ><Directory "/var/www/cgi-bin"> > > AllowOverride None > > Options None > > Order allow,deny > > Allow from all > ></Directory> > > > >And the error message I receive is this: > > > >[error] [client 192.168.56.1] script not found or unable > to stat: /var/www/cgi-bin/something > > > >What is wrong? > > > What are the permissions for subdirectory something? > Did you create it? > > The world probably needs execute and read access to the > directory. You might not be allowed to make that change if, > as I do, you have a web provider to worry about. > > -- > --> 0010 0100 0110 1000. Who do > we appreciate? <-- > With apologies to B Fagin of the Colo Spgs > Gazette. > The directory permissions are OK: drwxr-xr-x 2 root root 4096 May 14 19:10 something --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx