3 posts / 0 new
Last post
#1 Mon, 09/06/2010 - 07:28
richieking78

cgi-bin

Hello,

can anyone help with the cgi-bin issue.

after placing a foo.cgi or foo.pl file in the cgi-bin, they produces error 500.

files are chmod even to 0777 but still does not work. any reasons and iseas.

thanks.

Mon, 09/06/2010 - 10:09
andreychek

Howdy,

The suexec program would require that anything in cgi-bin be owned by the same user and group as the directory it's sitting in.

They also won't work if they're world writeable (permissions 777), since that means anyone on the server would have permissions to make changes to them.

My suggestion would be to go into your cgi-bin dir, and type:

ls -la

And verify that the programs you added are the same user and group as the directory itself... I'd also suggest making the permissions on the file itself "755" or maybe "775".

-Eric

Mon, 09/06/2010 - 11:12
richieking78

right on buddy.

working

Topic locked