Help!

Or search support forum

What's Global Moxie?

Global Moxie is the hypertext laboratory of Josh Clark, a designer, developer, and author who offers workshops and consulting for iPhone app design. He’s also creator of Big Medium, a web content management system. Josh spins words and code from multimedia studios in Providence, RI, and 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

Books by Josh Clark

Tapworthy: Designing Great iPhone Apps

Best iPhone Apps: The Guide for Discriminating Downloaders

iWork ’09: The Mising Manual

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.

Beautiful

"Beautiful interface. Installed with absolutely no problem. I AM IMPRESSED."
—Tom Marks

"This CMS has proven to be great and adaptable to the designer's vision, making my life easier."
—Scott Jordison

"Big Medium is everything I hoped for and more, and we're receiving a lot of compliments on the site's functionality. Moreso, I'd like to thank you for your exemplary customer service. You truly made me feel that you had a personal stake in our implementation, and gave me the confidence that when we went live, everything would be perfect. If only every tech-related experience was like this one."
—Andrew McKay

More praise for Big Medium