cgi not working

chow

Verified User
Joined
Aug 27, 2003
Messages
125
Location
The Netherlands
Hi,

I have a useraccount on which cgi scripts are not working. Getting a permission denied (403) We uploaded in ascii, chmod to 755 or even 777 but problem is not solved. We tried several scripts but all of them give same error. Any clue on what's wrong??

Thnx
 
Hello,

1) cgi-bin directory must be 755
2) cgi file must be 755
3) everything must be owned by the user, and not root (or anyone else)

check the /var/log/httpd/suexec_log for more details

If all that fails, try manually running the script:
Code:
cd /home/username/domains/domain.com/public_html/cgi-bin
./script.cgi
Which will gerally give you why the script wasn't running if all of the above are ok.

John
 
Back
Top