This is easier and lower-impact than setting HOME anywhere.
TypesConfig "/dev/null"
# PerlPassEnv PATH # this is implicit
TypesConfig "/dev/null"
# PerlPassEnv PATH # this is implicit
<Directory /var/www/cgi-bin>
Options +ExecCGI
AddHandler perl-script .cgi
<Directory /var/www/cgi-bin>
Options +ExecCGI
AddHandler perl-script .cgi
# in any of our redirects:
PerlSetEnv NO_SCRIPT_NAME 1
# in any of our redirects:
PerlSetEnv NO_SCRIPT_NAME 1
+ # no need to set no rely on HOME if using this:
+ PerlSetEnv PI_CONFIG /home/pi/.public-inbox/config
+
# our public-inbox.cgi requires PATH_INFO-based URLs with minimal
# use of query parameters
DirectoryIndex public-inbox.cgi
# our public-inbox.cgi requires PATH_INFO-based URLs with minimal
# use of query parameters
DirectoryIndex public-inbox.cgi