Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 531
  • Last Modified:

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
0
Jonah11
Asked:
Jonah11
  • 2
2 Solutions
 
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
 
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
 
Jonah11Author Commented:
Thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now