Andre,

Go read the docs I have at
http://scottg.net/webtools/aolserver/modules/nscgi; maybe you'll find the
answer there. If not, I'll add them when you've found a solution.

thanks,

/s.


> Hi!
>
> I'm using Debian 2.2 potato, Aolserver 3.4.2, and would like to use
> the cgi-feature with the mailman-Debian package. It installs into my
> cgi-dir using symlinks.
>
> root@mir:~# ls -l /usr/lib/mailman
> total 28
> drwxr-xr-x    6 root     root         4096 Feb 26 11:32 Mailman/
>
> root@mir:~# ls -l /usr/lib/mailman/cgi-bin/
> total 80
> -rwxr-sr-x    1 root     list         5332 Dez 13 11:18 admin*
> -rwxr-sr-x    1 root     list         5336 Dez 13 11:18 admindb*
> -rwxr-sr-x    1 root     list         5336 Dez 13 11:18 archives*
> -rwxr-sr-x    1 root     list         5336 Dez 13 11:18 edithtml*
> -rwxr-sr-x    1 root     list         5344 Dez 13 11:18 handle_opts*
> -rwxr-sr-x    1 root     list         5336 Dez 13 11:18 listinfo*
> -rwxr-sr-x    1 root     list         5336 Dez 13 11:18 options*
> -rwxr-sr-x    1 root     list         5336 Dez 13 11:18 private*
> -rwxr-sr-x    1 root     list         5332 Dez 13 11:18 roster*
> -rwxr-sr-x    1 root     list         5340 Dez 13 11:18 subscribe*
>
> root@mir:~# ls -l /usr/lib/cgi-bin/ | grep mailman
> lrwxrwxrwx    1 root     root           18 Feb 26 11:30 mailman ->
> ../mailman/cgi-bin/
>
> My aolserver-configuration is
>
> ns_section "ns/server/${server}/module/nscgi"
> ns_param debug           false          ;# Be chatty in log
> ns_param gethostbyaddr   false          ;# Whether to do reverse DNS
lookups
> ns_param limit           0              ;# Max number of concurrent CGI
processes
> ns_param maxoutput       10240          ;# Max bytes allowed from
external process
> ns_param buffersize      8192           ;# Buffer output from external
process
> ns_param Map            "GET /*.pl"
> ns_param Map            "GET /*.py"
> ns_param Map            "GET /cgi /usr/lib/cgi-bin/"
> ns_param Map            "GET /cgi-bin /usr/lib/cgi-bin/"
> ns_param Map            "POST /*.pl"
> ns_param Map            "POST /*.py"
> ns_param Interps      CGIinterps
>
> ns_section "ns/interps/CGIinterps"
> ns_param .pl          "/usr/bin/perl"
> ns_param .sh          "/bin/sh"
> ns_param .py          "/usr/bin/python"
>
> # CGI environment variable handling -- See admin guide
> ns_param   systemenvironment false   ;# Copies environment from nsd start
shell
>
>
> I've tried several configurations, too many to list here, like
>
> ns_param Map            "POST /*"
>
> and I can't get it to work. Mailman uses python, and the executables
> listed are compiled binaries, if that can give you a hint.
>
> -Andre
>
>

Reply via email to