Results 1 to 7 of 7
-
05-12-2005, 06:24 PM #1Web Hosting Master
- Join Date
- Jun 2001
- Posts
- 747
Why does chmod 777 cause 500 internal server errors?
Hello,
I have a script in a directory. If the directory is chmod 777, I get 500 internal server error. if the directory is 755, no problem.
Is there any way around this? I need chmod 777.
Note: I have a dedicated server, so if there is a way I can change this myself, I will.
Thank you.
-
05-12-2005, 09:50 PM #2Newbie
- Join Date
- May 2005
- Location
- Scranton, PA
- Posts
- 24
Is this with mod_cgi? another apache(?) module? a 3rd party cgi software package?
I have never heard of this before, it seems odd and I would suspect 3rd party cgi software that has funky requirements if I had to guess more.Senior Software Developer
BurstNET® - The Speed the Internet Travels™
BurstNET® - an INC500™ Company
http://www.burst.net - http://www.nocster.net
-
05-12-2005, 11:42 PM #3Web Hosting Master
- Join Date
- May 2003
- Posts
- 1,708
If php_suexec and suexec are installed it will not allow 777 in public_html directories normally.
-
05-13-2005, 12:59 AM #4Web Hosting Master
- Join Date
- Jan 2003
- Posts
- 1,715
Suexec (both cgi and php, afaik) will not run a script that is world-writable or that is in a world-writable directory.
Game Servers are the next hot market!
Slim margins, heavy support, fickle customers, and moronic suppliers!
Start your own today!
-
05-13-2005, 01:00 AM #5Web Hosting Master
- Join Date
- Jun 2003
- Location
- UK
- Posts
- 6,616
Its always worth checking the apache error_log as well as it normally output the actual problem there
RusRuss Foster - Industry Curmudgeon
Freelance Sysadmin for Hire - email vaserv@gmail.com
-
05-13-2005, 02:17 PM #6Web Hosting Master
- Join Date
- Jun 2004
- Location
- Bay Area -USA
- Posts
- 1,740
its php suexec. You just need to mod it so that the owner can write to it like 644 or something like that.
<<< Please see Forum Guidelines for signature setup. >>>
-
05-13-2005, 05:16 PM #7ThirtySx Bits Forever!
- Join Date
- Jul 2001
- Location
- Canada
- Posts
- 1,284
777 permissioned scripts are an exploited server waiting to happen.
"Obsolesence is just a lack of imagination."