# 500 server error with cgi

#### maxhost

##### Well-Known Member
hi,
we have a domain tha gives 500 server error when using cgi script (e.g. formmail)
All seems ok on domain and cgi works fine with other domains.

Also installing the script on other domains on the same server works fine.

Anyone have an idea what's wrong?

suExec has ben disable

B

#### bdraco

##### Guest
[quote:154c01487d][i:154c01487d]Originally posted by maxhost[/i:154c01487d]

hi,
we have a domain tha gives 500 server error when using cgi script (e.g. formmail)
All seems ok on domain and cgi works fine with other domains.

Also installing the script on other domains on the same server works fine.

Anyone have an idea what's wrong?

suExec has ben disable [/quote:154c01487d]

check the error_log and add the line

use CGI::Carp qw(fatalsToBrowser);

after the #!/usr/bin/perl
if you still can't figure it out