On Sat, Sep 04, 2004 at 01:18:59PM -0500, Shekhar Prasad wrote: > Hi all, > > I've installed Asterisk on Linux Red Had 9. Now, I was trying to set > up a GUI based system for the PBX. > I downloaded some packages, but I have to have Perl running CGI > scripts through the webserver. It does not allow me to. > I am able to run a basic script that just just prints out html > messages and nothing else. However, when I try to run am-main.pl or > config.pl or any other cgi-bin scripts that came with Asterisk, I get > a 500 error: Premature End of Script Header. I've tried changing the > chmod to -x or 755 and also have included the header required to > display the html script. However, no luck. I am able to run it in > command line, but not through the Mozilla browser. > > Is this enough information I've provided? You can contact me directly > if you need more information.
The error message means that your your script has returned an error status, IIRC. Its standard error goes to /var/log/httpd/error_log in the default RH9 config. Use less, tail or tail -f to get the relevant error message (hint: press shift-G in less to jump to the end). -- Tzafrir Cohen +---------------------------+ http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend| mailto:[EMAIL PROTECTED] +---------------------------+ _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
