The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

500 server error with cgi

Discussion in 'General Discussion' started by maxhost, Mar 11, 2002.

  1. maxhost

    maxhost Well-Known Member

    Joined:
    Jan 30, 2002
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    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
     
  2. bdraco

    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
     
Loading...

Share This Page