Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191368 - www-servers/apache-2.2.x - allow exception hook option
Summary: www-servers/apache-2.2.x - allow exception hook option
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 11:14 UTC by steveb
Modified: 2007-09-08 15:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description steveb 2007-09-05 11:14:37 UTC
Apache 2.x has a option to enable modules to plug into the exception hook. By default this is disabled and needs to be enabled with the compile option "--enable-exception-hook".

See here for more info:
http://httpd.apache.org/docs/2.0/mod/mpm_common.html#EnableExceptionHook
http://httpd.apache.org/docs/2.2/mod/mpm_common.html#EnableExceptionHook

The exception hook is a great way to debug crashing Apache installation. Today we only have mod_diagnostics in portage for helping to debug Apache. By enabling the above mentioned option we could add stuff like mod_whatkilledus and mod_backtrace to help to get more information from a crashing Apache instance.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 11:18:17 UTC
We are not touching apache-2.0.x, all all, not going there. :P

You can enable this by setting EXTRA_ECONF="--enable-exception-hook" when emerging apache if you really need this.
Comment 2 steveb 2007-09-05 11:28:58 UTC
(In reply to comment #1)
> We are not touching apache-2.0.x, all all, not going there. :P
> 
I was not thinking with 2.0.x at all but added the link to 2.0 for completeness.


> You can enable this by setting EXTRA_ECONF="--enable-exception-hook" when
> emerging apache if you really need this.
> 
Cool! Will try that. Thanks for that info. Did not know about that possibility.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 11:36:36 UTC
Reopen, we'll look into adding this w/ USE=debug or whatever similar.
Comment 4 steveb 2007-09-05 16:03:33 UTC
(In reply to comment #3)
> Reopen, we'll look into adding this w/ USE=debug or whatever similar.
> 
Perfect! I appreciate that.
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2007-09-08 15:42:47 UTC
fixed in 2.2.6 with USE=debug