PDA

View Full Version : runing .cgi or .pl is 500 Internal Server Error


fabulous
10-04-2007, 03:12 AM
but i installed awstats is Normal. http://ip/awstats/awstats.pl

but run domins/user.com/cgi-bin/test.pl

500 Internal Server Error

my system is Freebsd6.2

run ./build upgrades apache to 2.2 and php to 5.22
(./build php_ap2)

help me.

smtalk
10-04-2007, 05:33 AM
Do:

ls -la /home/user/domains/user.com/cgi-bin/test.pl


And post an output here.

fabulous
10-18-2007, 08:59 AM
-rwxrwxrwx 1 username apache 77 Oct 4 16:00 test.pl

this "username" is my DA username.

smtalk
10-18-2007, 09:00 AM
pl files can not have chmod >755 :) So, chmod it to 755, do chown username:username test.pl and try again.