diff options
author | Eric Wong <e@80x24.org> | 2014-05-05 19:59:56 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-05-05 19:59:56 +0000 |
commit | a2f693a070d8c8c6f52cc9fc42462b7170e00cee (patch) | |
tree | ae8db4321baab410120f02170e2b900a15830147 | |
parent | c713a96907b8e8c36327a34fc19d8c464b9985d8 (diff) | |
download | public-inbox-a2f693a070d8c8c6f52cc9fc42462b7170e00cee.tar.gz |
This is easier and lower-impact than setting HOME anywhere.
-rw-r--r-- | examples/apache2_perl.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/apache2_perl.conf b/examples/apache2_perl.conf index 04d5a8e8..6615eb9f 100644 --- a/examples/apache2_perl.conf +++ b/examples/apache2_perl.conf @@ -14,7 +14,6 @@ LoadModule mime_module /usr/lib/apache2/modules/mod_mime.so TypesConfig "/dev/null" # PerlPassEnv PATH # this is implicit -PerlPassEnv HOME <Directory /var/www/cgi-bin> Options +ExecCGI AddHandler perl-script .cgi @@ -25,6 +24,9 @@ PerlPassEnv HOME # 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 |