What does it mean when my CGIs fail with "Premature end of script headers" or "Internal Server Error"?

Updated -

This means your script is not working correctly and it did not complete the action it was supposed to. Why does this happen? Well the most common reason is that the script does not have the proper permissions. What's probably happening is that when run on the command line, that script has the same permissions do, but when you run in the server, its permissions are equal to the permissions that...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content