diff options
Diffstat (limited to 'examples')
-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 |