Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a share hosting with IWeb. And they hide all the Internal Server errors. But I need them to know what is causing my Apache Script to crash.

Is there any way to catch a HTTP 500 Internal Server error... So I can know what is causing it?

Thanks in advance.


Here is .htaccess:

 AuthUserFile .htpasswd
 AuthType basic
 AuthName "Secret Files"
 Require valid-user

When I load the page I get the popup for the username and password... Then when I type in everything... and click OK I get Internal Server Error... To me it does not make sense. Why is it sending the error only after the user tried to login.

share|improve this question

You could spend a lot of time crufting up something that may or may not catch the errors (you haven't given enough information to know if that might be possible in your case), or you could just give your money to a service that actually provides you with the resources you need, instead of continuing to pay someone who isn't.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.