As there is already an apache2 hook for bug reporting (debian/apache2.2-common.bug-script) I think it'd make more sense to have the apport wrapper call the bug script (found in /usr/share/bug/apache2.2-common/script) and include its output in the report.
That way we'd have only place to gather debugging information which would be included in apport or reportbug.
Thanks for your proposal.
As there is already an apache2 hook for bug reporting (debian/ apache2. 2-common. bug-script) I think it'd make more sense to have the apport wrapper call the bug script (found in /usr/share/ bug/apache2. 2-common/ script) and include its output in the report.
That way we'd have only place to gather debugging information which would be included in apport or reportbug.