On Wed, Nov 01, 2000 at 09:51:38AM +0200, Stanislav Grozev wrote:
> Hi, I am using Apache 1.3.14, mod_perl 1.24_01, perl 5.6 and
> Apache::SSI 2.13
>
> in my httpd.conf i have the following:
>
> PerlRequire /usr/local/web/perllib/Apache/tSSI.pm
> <Files ~ "\.bozo$">
> SetHandler perl-script
> PerlHandler Apache::tSSI
> </Files>
> AddType text/html .bozo
>
> and the tSSI.pm contains:
>
> package Apache::tSSI;
>
> use strict;
> use vars qw(@ISA);
>
> use Apache::SSI;
> use Apache::Constants qw(:common OPT_EXECCGI);
> use Apache::File;
>
> @ISA = qw(Apache::SSI);
>
> sub ssi_bozo {
> my($self, $args) = @_;
>
> return "blah blah";
> }
>
> 1;
>
>
> and finaly, one file, named test.bozo contains, among some plain
> html the <!-- #bozo -->
^
The tag should be <!--#bozo -->
--
Thomas Eibner