Force Apache To Show Actual Errors Instead of 500

Posted on 2011-05-02
Last Modified: 2012-05-11

I using wamp on Win7, and am attempting to get a php application working that was working fine on my other computer.  I am getting a 500 Internal Server Error.  I want to force apache to show me the actual error that is causing this so I can fix it.  Is there a way to do this?

Question by:Jonah11
    LVL 48

    Assisted Solution

    No. What you can do is defined  in
    But you can redirect to your won error handler which e.g. displays the last X lines from the apache error log
    LVL 7

    Author Comment

    Hmmm... ok, thanks hernst.  The apache error log is not really helpful.  I get the following:

    [Mon May 02 23:44:38 2011] [alert] [client] C:/wamp/www/moocho/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

    Here is my .htaccess file:

    Any ideas?
    LVL 11

    Accepted Solution

    Its self explantiory you rewrite module is not working if you are using a child folder then you need to turn rewrite module on also maybe a rewrite base / there as well just check online
    LVL 7

    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Suggested Solutions

    Creating and Managing Databases with phpMyAdmin in cPanel.
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now