Craig & other ppl,

maybe you have set the order of permissions wrong (@<IfModule mod_alias.c>),
like this:
....
Order deny,allow
Deny from all
....

where it should be allow from all... and the other way around (Order allow,deny)


mine looks like this:

   ScriptAlias /cgi-bin/ "/SERVER/httpd/cgi-bin/"
    <Directory "/usr/local/apache/cgi-bin">
        AllowOverride None
        Options +ExecCGI
        Order allow,deny
        Allow from all
    </Directory>

I gave my http and email and other crap a seperate partition, because
of massive data loads.
-END-

> Check to see who is running apache ie nobody or root or apache
> Check the cgi directory for permissions. rwx or 700 or 777 or whatever
> Check the script ownership and permissions
> Whichever user is running the Apache server is the one that needs the access 
> to the cgi directory

> On Thursday 22 August 2002 01:20 pm, [EMAIL PROTECTED] wrote:
>> David,
>>     Are you sure that apache has the cgi-bin where you think it is?  In the
>> httpd.conf there is usually a line like
>> Alias /cgi-bin/ /new/location/for/cgi-bin/
>>     If this is the case, its not even pointing to the folder you think it
>> is.  I guess this is the place to start.
>>
>> Regards,
>> David - [EMAIL PROTECTED]
>>
>>
>>
>> ----- Original Message -----
>> From: "Nazary, David" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Thursday, August 22, 2002 11:51 AM
>> Subject: sgi question
>>
>>
>> Hi,
>>
>> I am trying to run a simple cgi script and I keep getting the followin
>> error:
>>
>> Forbidden
>> You don't have permission to access /cgi-bin/ on this server.
>>
>> Apache/1.3.22 Server at scmset.sc.intel.com Port 80
>>
>> I have given 777 to cgi-bin directory and the hello.pl file under it which
>> is :
>>
>>
>> #!/usr/intel/bin/perl
>> print "Content-type: text/html\n\n";
>>
>> print "Hello guys\n";
>> print `date`;
>>
>>
>> Any help will be greatly appreciated.
>>
>> Thanks
>> David




-- 
 Alex                            mailto:[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to