Force Apache To Show Actual Errors Instead of 500

Hi,

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?

Thanks,
Jonah
LVL 7
Jonah11Asked:
Who is Participating?
 
mattibuttCommented:
Hi
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
0
 
hernst42Commented:
No. What you can do is defined  in http://httpd.apache.org/docs/2.2/en/mod/core.html#errordocument
But you can redirect to your won error handler which e.g. displays the last X lines from the apache error log
0
 
Jonah11Author Commented:
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 127.0.0.1] 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:

http://pastebin.com/h12ESMEq

Any ideas?
0
 
Jonah11Author Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.