Help - Search - Members - Calendar
Full Version: Scgi-bin
The Planet Forums > Operating Systems > Red Hat Linux
chrisben
Hi there,

I am trying to run Perl scripts from the scgi-bin directory, but I am getting a server error 500. The scripts were working correctly until sometime last week. After doing some troubleshooting, I have noticed that if I set the "world" permissions of a script to "r-x", the script executes without error. But if the permission is set back to "--x", the server 500 error occurs. All of the scripts I want to execute from the scgi-bin will be world protected with "--x", since I want users to be able to execute the script, but not to view it.

any help would be really appreciated.
josgeo
Chris,

Yo Man, you sound like a 'rock' singer. Coming to the point, yes you have to give 'r' permission, because these files need to have 'r' for the browser to parse them, not just execute them.

HJG
chrisben
yeap ...

Thanx, it worked out
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.