Skip to content

Not working with Python >= 3.12 (and recent Linux Distros) #30

Description

@architectonio

Super handy and easy to set up solution—really liked it.
Since I found it, I’ve been locking down parts of my website.
But the latest Linux distros (thanks to new Python) no longer support things like "cgid", so the framework’s busted on those setups.
I messed with the "auth" script, but even when I got logged in again, it just kept redirecting me to "auth/auth?/%3f"—that page’s dead.

Apache logs show this:

[Mon Aug 31 21:53:48.982564 2026] [deflate:error] [pid 1903604:tid 1903608] (104)Connection reset by peer: [client 192.168.1.7:47174] AH10298: failed reading from PIPE bucket, referer: https://extranet.mydomain.com/auth/auth?/%3f

PS:
Yes, I know that there is a "legacy-cgi" fork, but it would be great if the "apache_2fa" framework were to leverage new Python libraries.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions