Running mailman within a domain

Sergey Budnevitch sb at waeme.net
Thu Jun 14 14:46:29 UTC 2012


On 14.06.2012, at 17:29, Patrick Ben Koetter wrote:

>> 
>> Could you create /usr/lib/cgi-bin/mailman/printenv script with the following content:
>> 
>> #!/usr/bin/perl
>> print "Content-type: text/plain\n\n";
>> foreach $var (sort(keys(%ENV))) {
>>    $val = $ENV{$var};
>>    print "${var}=\"${val}\"\n";
>> }
> 
> Give this output: <https://mail.sys4.de/cgi-bin/mailman/printenv>
> 
> 
>> Then run chmod +x /usr/lib/cgi-bin/mailman/printenv
>> and send result of the query http://mail.sys4.de/cgi-bin/mailman/printenv/blah-blah-blah.
>> If your config is correct, there should be
>> SCRIPT_FILENAME="/usr/lib/cgi-bin/mailman/printenv"
>> PATH_INFO="/blah-blah-blah"
> 
> Gives a temp error: 403
> <https://mail.sys4.de/cgi-bin/mailman/printenv/blah-blah-blah>

Please comment string
fastcgi_param   SCRIPT_FILENAME         $request_filename;

in /etc/nginx/fastcgi_params and reload nginx




More information about the nginx mailing list