[thelist] using SSI within a .cgi page

Hassan Schroeder hassan at webtuitive.com
Tue Apr 24 14:54:34 CDT 2001


David Prowak wrote:
> 
> I want to add some SSIs to a page that currently
> a Perl CGI, using the .cgi extension.

once Apache hands the request off to your CGI program, the ball's
all yours :-) 

If it's just unparsed file includes, create a function to open the 
file and print the contents to your output stream.

/* A lot of file I/O on each request adds up, of course, so ... */

FWIW!
-- 
H*
Hassan Schroeder ----------------------------- hassan at webtuitive.com 
Webtuitive Design ---(+1) 408-938-0567 --- http://www.webtuitive.com

    -- creating dynamic Web sites and applications since 1994 --




More information about the thelist mailing list