Can I use SSI or other CGIs in my htsearch results?
Not really. Apache will not parse CGI output for SSI statements (See the Apache FAQ). Thus,the htsearch CGI does not understand SSI markup and thus cannot include other CGIs. However, it is possible doing it the other way round: you can have the htsearch results included in your dynamic page.The Apache project has mentioned that this will be a feature added to the Apache 2.0 version, currently in development.The easiest approach in the meantime is using SSI with the help of the script_name configuration file attribute. See the contrib/scriptname directory for a small example using SSI.For CGI and PHP, you need a “wrapper” script to do that. For perl script examples, see the files in contrib/ewswrap. The PHP guide (see contributed guides) not only describes a wrapper script for PHP, but also offers a step by step tutorial to the basics of ht://dig and is well worth reading. For other alternatives, see question 4.11.
Not really. Apache will not parse CGI output for SSI statements (See the Apache FAQ). Thus,the htsearch CGI does not understand SSI markup and thus cannot include other CGIs. However, it is possible doing it the other way round: you can have the htsearch results included in your dynamic page. The Apache project has mentioned that this will be a feature added to the Apache 2.0 version, currently in development. The easiest approach in the meantime is using SSI with the help of the script_name configuration file attribute. See the contrib/scriptname directory for a small example using SSI. For CGI and PHP, you need a “wrapper” script to do that. For perl script examples, see the files in contrib/ewswrap. The PHP guide (see contributed guides) not only describes a wrapper script for PHP, but also offers a step by step tutorial to the basics of ht://dig and is well worth reading. For other alternatives, see question 4.11.