<Files *.phtml> SetHandler perl-script PerlHandler Apache::SSI </Files>
You may wish to subclass Apache::SSI for your own extentions
package MySSI;
use Apache::SSI ();
@ISA = qw(Apache::SSI);
#embedded syntax:
#<!--#something cmd=doit -->
sub something {
my($self, $attr) = @_;
my $cmd = $attr->{cmd};
...
return $a_string;
}
This module supports the same directives as mod_include, see it's documentation for commands and syntax.
In addition, Apache::SSI supports the following directives:
Hello user from <!--#perlsub sub=remote_host -->
There is no support for xssi directives.
mod_perl, HTML::TreeBuilder(3),
perl, Apache