PUBLIC-INBOX.CGI(1)
π public-inbox.cgi β the public-inbox user manual era π
okay bestie, sit down, hydrate, because this one is lowkey a warning label disguised as a manpage π
β¨ NAME β¨
public-inbox.cgi β a CGI wrapper for PublicInbox::WWW
like... it wraps. that's the whole job. π
πΈ SYNOPSIS πΈ
You generally want to run public-inbox-netd or public-inbox-httpd,
instead
no fr, that's not me being shady, that's literally the synopsis. the manpage itself is like "bestie... run the other ones." iconic honestly. π
π¦ DESCRIPTION π¦
so public-inbox.cgi is a CGI interface wrapper sitting on top of the PSGI/Plack PublicInbox::WWW module. that's its whole thing. π
and here's the tea: it's only provided for compatibility reasons and it is NOT recommended. capital letters, all caps, they meant it. π¨
why tho? two reasons, both very real:
- CGI with Perl is slow β that code loading overhead is not it, it's giving dial-up energy π
- web servers lack the scheduling fairness of
public-inbox-netd(1)andpublic-inbox-httpd(1)when it comes to handling git clones and streaming large mbox downloads
so like... git clones and big mbox streams will simply not get the fair treatment they deserve. the other daemons handle that scheduling stuff properly. this one does not. π
β οΈ COMPATIBILITY NOTE β οΈ
if you're running the CGI with Apache, make sure you set AllowEncodedSlashes to On, because public-inbox makes heavy use of encoded slashes. like heavy heavy. not a drill. π₯
bestie if you skip this step the slashes will not be allowed and the vibe check will fail. turn it On. periodt. π
π¬ CONTACT π¬
feedback is welcome, and yes, plain-text mail specifically, sent to <mailto:meta@public-inbox.org> βοΈ
the mail archives live at:
- <https://public-inbox.org/meta/>
- <http://4uok3hntl7oi7b4uf4rtfwefqeexfzil2w6kgk2jn5z2f764irre7byd.onion/meta/>
Β©οΈ COPYRIGHT Β©οΈ
Copyright all contributors <mailto:meta@public-inbox.org>
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
π SEE ALSO π
public-inbox-netd(1)public-inbox-httpd(1)PublicInbox::WWWpublic-inbox-daemon(8)
okay that's the whole page bestie, you're officially informed π«Ά go run public-inbox-netd or public-inbox-httpd instead, the manpage said it, not me πβ¨
this has been PUBLIC-INBOX.CGI(1) from the public-inbox user manual, source public-inbox.git, dated 1993-10-02 β love u, bye ππΈ
π¦ where this page comes from
- fedora 43: public-inbox-server 2.0.0~20230714git590023f-6.fc43 Β· AGPL-3.0-or-later
- fedora 44: public-inbox-server 2.0.0~20230714git590023f-6.fc43 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms