Link to home
Start Free TrialLog in
Avatar of rvarshneya
rvarshneya

asked on

Execution error with perl program

I have a perl classified script which i have configured and hosted on the server. But it does not execute and the error is Error 500 - Internal Server Error, and it says, Premature end of Script Headers. What could be the problem?
ASKER CERTIFIED SOLUTION
Avatar of mattrope
mattrope

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rvarshneya
rvarshneya

ASKER

Well, when i try to execute the script from the perl interpreter, it first prints bad command and file name twice and then prints out the output starting from the line Content Type: text/html and then the html output is printed out. But let me try by using the line that is "Content-Type: text/html\n\n" at the very front of the program.
Thanx a lot... it helped.