Dave -
I was trying modifying the config script in many ways, including trailing slashes on either URL or disk path, but the results are the same. It seems like the CGI mapping is ignored altogether and the directory under www is searched instead, so if I put a Perl script there it is found, but returned as a text file rathen then a CGI.
I would suspect the nscgi module is not loaded correctly. Where can I verify that?
I have in the script the following lines:
# CGI interface -- nscgi
#
ns_section "ns/server/${servername}/module/nscgi"
ns_param map "GET /cgi /usr/local/cgi/" ;# CGI script file dir (GET).
ns_param map "POST /cgi /usr/local/cgi/" ;# CGI script file dir (POST).
ns_param map "GET /calendar /web/mydir/www/calendar/" ;# CGI script file dir (GET).
ns_param map "POST /calendar /web/mydir/www/calendar/" ;# CGI script file dir (POST).
ns_param Interps CGIinterps
ns_section ns/interps/CGIInterps
ns_param .pl /usr/bin/perl
ns_section "ns/server/${servername}/modules"
ns_param nssock ${bindir}/nssock${ext}
ns_param nslog ${bindir}/nslog${ext}
ns_param nssha1 ${bindir}/nssha1${ext}
ns_param nscache ${bindir}/nscache${ext}
ns_param nscgi ${bindir}/nscgi${ext}
Any more insight here?
Thanks again,
Kika