Include file to CGI output using Server Side Includes -


i trying include file using ssi output of cgi script. proper way of doing that? tried cgi:ssi module code , file wasn’t included.

    use cgi::ssi;     $ssi = cgi::ssi->new();     $ssi->include(virtual => 'logo.inc'); 

or should use apache::ssi? if so, simplest way of doing that?

thanks!

is filename/path correct? stated, if script in /cgi-bin/ logo.inc must in /cgi-bin/. if can't find file, can't include it. might have meant write:

$ssi->include(virtual => '/logo.inc'); 

if logo.inc in server's root directory.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -