in reply to CGI form doesn't work by way of SSI

I don't think the query parameters are passed to includes. Try dumping out the query string in your CGI to check. I'd suggest calling your CGI directly and having it include the header and footer. You could even use SSI-like syntax for that, with one of the SSI modules on CPAN.
  • Comment on Re: CGI form doesn't work by way of SSI

Replies are listed 'Best First'.
Re^2: CGI form doesn't work by way of SSI
by moritz (Cardinal) on Jan 23, 2008 at 16:11 UTC
    If you use Apache2 then you can even emit HTML that contains SSI directives, and let Apache process them.

    To enable that, you have to include a line like

    AddOutputFilter INCLUDES .cgi
    In your .htaccess or server config.
      Good point, I tend to forget that. That was a great new feature in apache 2.