Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Users can run cgi?

Status
Not open for further replies.

Kiehlster

MIS
Aug 14, 2000
147
US
Here's the problem. I've got all the user directory settings all fine and dandy in my httpd.conf file and I have +ExecCGI in my options for the public_html folders, but I keep getting premature endings of scripts on any scripts that I try to run from any user's public_html folder. I tried changing +ExecCGI to just ExecCGI but that didn't work.
I also tried resaving the cgi files and redoing all their permissions to 775 or 755 or whatever and nothing worked. I then moved the script to my main site's folder and it ran just fine.
Any idea why I get these 500 errors??? Steve Kiehl
webmaster@nanovox.com
 
Nevermind, I figured it out like two seconds after I posted this. [purple] I guess I never realized the existance of the suexec log. It told me everything. Guess the user cgi stuff is very strict. That is, directories have to be owned entirely by the user and the cgi's have to be 755 and owned entirely by the user. How annoying. Steve Kiehl
webmaster@nanovox.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top