Help!

Or search support forum

What's Global Moxie?

Global Moxie is the hypertext laboratory of Josh Clark, a writer, programmer and designer whose projects include the Big Medium web content management system. Josh spins words and code from his multimedia studio in Paris, France.

What's Big Medium?

Big Medium is flexible, easy-to-use server software for creating and editing websites directly from your browser. Check out the features or download now.

On Shelves

Cover: Best iPhone Apps

Best iPhone Apps is my guide to more than 200 gee-whiz apps to unlock the full potential of your favorite gadget. Order yours now.

iWork ’09: The Missing Manual

iWork ’09: The Missing Manual is my fun and comprehensive book about Apple’s remarkable word processor, presentation software, and spreadsheet program.
Order yours now.

Moxiemail

Enter your e-mail to receive occasional updates:

"Internal Server Error" or "Premature End of Script Headers"

Question

Why do I get a “500: Internal Server Error” or “Premature End of Script Headers” message when I connect to Big Medium?

Answer

This is a generic message that tells us only that the web server had trouble running the requested script. There are a wide variety of possible reasons for this message, but this checklist addresses the most common:

Upload moxiebin files as plain text

When uploading the files to your server’s moxiebin directory, be sure that your FTP client program is set to “ASCII” or “plain text” mode. Do not use an “automatic” or “auto-detect” mode for the moxiebin files.

Unix-based servers: Check file permissions

Make sure that the moxiebin directory has permission set to chmod 0755. Likewise, make sure that all of the files in the moxiebin directory whose names end with “.cgi” are set to chmod 0755.

Check the Perl path

For Unix-based servers (and Windows servers running Apache instead of IIS), make sure that the path to Perl is correct on the first line of the files ending with “.cgi” in the moxiebin directory.

If you’re not sure what the Perl path should be, check with your hosting company or server administrator.

For example, if your Unix-based Perl path is /usr/bin/perl, then the first line of all .cgi files should be:
#!/usr/bin/perl -Tw

If your Windows Perl path is C:\perl\bin\perl.exe then the first line of all of the .cgi files should be:
#!C:\perl\bin\perl.exe -w

Windows servers: Configure .cgi to run Perl

If you’re running Big Medium on a Windows IIS server, the server may not yet be configured to run .cgi scripts. Set up a .cgi mapping for the server.

Still got the problem?

If you continue to get the error after making this change, please consult your server’s error logs to gather more information about the cause of the error. If you don’t have access to your error logs, ask your hosting provider if they can look up the information for you. Once you have the info in hand, contact me with the information that you’ve uncovered.

Download Big Medium
Try it free for 30 days, or buy to unlock.

Above and Beyond

"Big Medium is an awesome product! I don't know how I survived without it for so many years. Your support goes above and beyond anything I've experienced using any other software package."
—Leroy G. Blimegger Jr.

"I love Big Medium 2... It's the most powerful news/article/content manager I have seen for my type of sites in years."
—Don McP

"Congrats on a job well done with Big Medium 2. This is by far the most amazing software anyone can buy for under $10,000."
—Steve Carter, Hometown Times

More praise for Big Medium