Hi Chris, 

I ran into this issue a while ago.. .and here are some responses from
the mod_perl list. 

Michael Schout 
--------------

You want Apache::Filter and Apache::SSI for this, both of which are
available on CPAN.

Per Einar Ellefsen 
------------------

You want Apache::OutputChain or Apache::Filter together with an SSI
module. See
http://perl.apache.org/docs/1.0/guide/modules.html#Apache__OutputChain____Chain_Stacked_Perl_Handlers
 and the paragraph below that for Apache::Filter.

Luis Fagundes (in response to Per's email as well)
----------------------------------------------------

I think you can only do this in Apache 2.0. In Apache 1.3 you can chain
perl modules with OutputChain, but you can't chain a perl module and
another apache module.

---------------------------------------------------------------------------

Apache::SSI etc can only be used if you are developing in mod_perl. 


If what you want is include a file (and not really a "virtual" location)
then you might want to symlink (unless you want to use the template path
or full path etc...) the file to the current directory and do a simple
tmpl_include. 

simran.


On Fri, 2002-11-08 at 07:09, Chris Faust wrote:
> Hi All,
> 
> Am I missing something when trying to use Apache's SSI with HTML::Template?
> 
> I've been looking everywhere for any information and not coming up with
> anything.
> 
> In short I have the following include
> <!--#include virtual="/cgi-bin/counter.pl" -->
> 
> Works fine when called from a HTML page but when called within a
> HTML::Template tmpl file its never executed by apache (meaning you see the
> include tag in the source of the page).
> 
> Is there something else I need to do?
> 
> Thanks
> -Chris
> 
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: See the NEW Palm 
> Tungsten T handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
> _______________________________________________
> Html-template-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/html-template-users
> 
> 
> 





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to