runing .cgi or .pl is 500 Internal Server Error

fabulous

Verified User
Joined
Jul 31, 2006
Messages
39
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

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,454
Location
LT, EU
Do:
Code:
ls -la /home/user/domains/user.com/cgi-bin/test.pl
And post an output here.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,454
Location
LT, EU
pl files can not have chmod >755 :) So, chmod it to 755, do chown username:username test.pl and try again.
 
Top