RE: [users@httpd] Help debugging 500 Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Jalil Feghhi [mailto:jalil.feghhi@xxxxxxxxx] 
> Sent: Thursday, September 14, 2006 11:28 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] Help debugging 500 Error
> 
> We are using Apache 2.0.x with mod_proxy and for a specific 
> URL we get a 500 error. I check the error and access log 
> files and only see that there was an internal server error in 
> the access.log file. 

500 usually means that the request caused apache to execute some
server-sided code (eg CGI or PHP) but that the program failed. So this
will be an error in the program apache called - not in apache itself or
in any proxy.

> There is no info in error.log file that 
> helps me find out what went wrong.

Are you absolutely sure? Every error in apache (4xx or 5xx response
code) should lead to a line in the error log.. please check again
(cross-reference the timestamps) Are you sure you don't get "Premature
end of script headers"?

> I was wondering how else I can get more info why the request 
> failed. 

It depends on the server-sided logic - if it's CGI, you can get the
script output by activating ScriptLog (see docs for details). 

> I am sure the request doesn't get reverse proxied to 
> the destination web server and something happens inside Apache. 

This is correct..

But I'm wondering why a dynamic resource would end up getting proxied -
usually, you proxy requests immediately (based on the pattern of the
URL). Can you supply more details of exactly how your site works?

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> Any help is appreciated.
> 
> -Jalil
> 
> -- 
> Jalil 
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux