500 Internal Server Error

bigboy

Verified User
Joined
Nov 25, 2005
Messages
188
Location
USA
i test script error

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, you!";


[2006-04-15 23:12:46]: error: directory is writable by others: (/usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin/tgpost)
[2006-04-15 23:13:39]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpadmin.cgi
[2006-04-15 23:13:39]: error: directory is writable by others: (/usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin/tgpost)
[2006-04-15 23:29:06]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpost.cgi
[2006-04-15 23:29:06]: error: directory is writable by others: (/usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin/tgpost)
[2006-04-15 23:31:27]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpost.cgi
[2006-04-15 23:31:27]: error: directory is writable by others: (/usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin/tgpost)
[2006-04-15 23:36:27]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: test.pl
[2006-04-15 23:36:27]: error: target uid/gid (1042/1042) mismatch with directory (1042/1004) or program (0/1004)
[2006-04-15 23:36:28]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: test.pl
[2006-04-15 23:36:28]: error: target uid/gid (1042/1042) mismatch with directory (1042/1004) or program (0/1004)





500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
 
Last edited:
Originally posted by bigboy
[2006-04-15 23:12:46]: error: directory is writable by others: (/usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin/tgpost)
[2006-04-15 23:13:39]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpadmin.cgi

This is the problem, try
Code:
chmod 755 /usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin
to make it not writable by anyone other than the owner.
 
I try chmod 755 this but error

chmod 755 /usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin
PHP:
chmod 755 /usr/home/idolzaa/domains/xxxxx.com/public_html/cgi-bin



[2006-04-16 11:20:50]: error: target uid/gid (1042/1042) mismatch with directory (1042/1004) or program (1042/1004)
[2006-04-16 11:20:50]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpadmin.cgi
[2006-04-16 11:20:50]: error: target uid/gid (1042/1042) mismatch with directory (1042/1004) or program (1042/1004)
[2006-04-16 11:20:50]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpadmin.cgi
[2006-04-16 11:20:50]: error: target uid/gid (1042/1042) mismatch with directory (1042/1004) or program (1042/1004)
[2006-04-16 11:21:35]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpadmin.cgi
[2006-04-16 11:21:35]: error: target uid/gid (1042/1042) mismatch with directory (1042/1004) or program (1042/1004)
[2006-04-16 11:21:36]: info: (target/actual) uid: (idolzaa/idolzaa) gid: (idolzaa/idolzaa) cmd: tgpadmin.cgi
[2006-04-16 11:21:36]: error: target uid/gid (1042/1042) mismatch with directory (1042/1004) or program (1042/1004)
 
Back
Top