[Trac] mod_python and mod_wsgi no longer compatible
Mike L <[email protected]> Tue, 21 Jan 2025 10:58:56 -0800 (PST)
| Newsgroups | gmane.comp.version-control.subversion.trac.general |
|---|---|
| Message-ID | <[email protected]> |
Per: https://www.modwsgi.org/en/develop/user-guides/installation-issues.html *Using mod_python and mod_wsgi together is no longer supported and recent versions of mod_wsgi will cause the startup of Apache to be aborted if both are loaded at the same time.* This is true now of these versions of mod_wsgi in the last two Ubuntu releases: libapache2-mod-wsgi-py3/jammy-updates,jammy-security,now 4.9.0-1ubuntu0.1 amd64 libapache2-mod-wsgi-py3/noble 5.0.0-1build2 amd64 I get the same error from both: The mod_python module can not be used in conjunction with mod_wsgi 4.0+. Remove the mod_python module from the Apache configuration. AH00016: Configuration Failed Is there a workaround for this or fix planned? I need to run subversion in the same webserver instance so standalone trac webserver isn't viable (also with standalone server our pentests flag http-only cookies as vulnerability). *The cookies:Set-Cookie: trac_form_token=***replaced***; HttpOnly; Path=/Set-Cookie: trac_session=***replaced***; expires=Tue, 01 Apr 2025 07:19:16 GMT; HttpOnly; Path=/are missing the "secure" attribute*I'd proxy standalone to get my subversion working, but don't think that fixes http-only cookies -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To view this discussion visit https://groups.google.com/d/msgid/trac-users/48e37ca7-8916-4627-b64d-4b7b1798aebfn%40googlegroups.com.