aaron-kelley.net

My little corner of the Internet

WordPress on Mac OS X — Server Error 500

I ran into this problem with WordPress running on a Mac OS X server.  I suppose that this may happen on other servers running Apache as well.  Attempting to access the WordPress site threw this error at you:

Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500

Turned out that the .htaccess file in the root of the WordPress install had some gibberish in it.  It looks like this gibberish replaced some of the actual contents of the file.  I don’t know how it got there, but fixing the .htaccess file solved the problem.  So, that’s something to check if you are having this problem as well!

Tags: ,

3 Responses to “WordPress on Mac OS X — Server Error 500”

  1. andrew says:

    I would love to know how you set up your wordPress site on your Mac server. I am trying to do one right now and can’t get it to work.

  2. Aaron says:

    This installation of WordPress actually runs on Linux, but the OS X installation I am referring to here actually runs on Mac OS X server, which includes PHP and MySQL out-of-the-box. Just had to plop the WordPress files in the right place and run through its automatic install.

    On a Mac OS X (non-server), you could turn on Apache by enabling “Web Sharing” (I believe that’s what they call the feature), manually install PHP and MySQL (from their respective sites), and then you should be able to run WordPress similarly by extracting the WordPress files to your web root and running through the automatic install in your web browser. Unfortunately, I do not have a tutorial to link to.

  3. Henrik Rasmussen says:

    Hi Aaron
    I just got a Mac mini Server and want to run WordPress on it.
    However, I can not seem to find any tutorials on how to install and configure it WITHOUT using MAMP.
    How did you get your WordPress up and running?
    A link or a short description would be very much appreciated!
    Thank you in andvance.
    Kind regards Henrik Rasmussen, Dubai, UAE.

Leave a Reply

This site is protected by Akismet. I now receive too many spam comments to manually check them all for misclassifications. If you suspect that your comment has been filtered as spam (i.e., it does not appear right away), please try rewording it and submitting again. Using no more than one hyperlink will also improve the chances of your comment not being accidentally filtered as spam.
133,917 spam comments detected since August 1, 2009.