Re: [RFC] Apache::Inject

Jacques Deguest <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Organization DEGUEST Pte. Ltd.
Message-ID <[email protected]>
Thank you for this interesting addition.
When you write on prepan regarding SSI that "[w]hile you can technically
include <head> elements in your header file, they will be placed in the
body of the HTML page and not in the head." I would have to disagree.
With SSI you can include a file anywhere.

However, I agree "it is useful for adding headers and footers to a large
number of pre-existing static HTML pages" although arguably if they are
static why not just pre-process them once and for all ?

P.S.: I am the author of Apache2::SSI

Regards,
Jacques Deguest

On 2021/04/25 1:30, John A wrote:
> Hi,
>
> I've created a mod_perl module called Apache::Inject that I've recently
> put up on PrePAN [1].  It is my first Perl module, so I'd be grateful for
> any comments.
>
> [1] http://prepan.org/module/nYw5RG2DWu5
>
> NAME
>     Apache::Inject - Apache directive for injecting HTML headers and footers
>
> SYNOPSIS
>       DocumentRoot /uar/local/www/apache24/data
>       PerlModule Apache::Inject
>       <Directory /usr/local/www/apache24/data>
>           Inject head.html foot.html
>       </Directory>
>
>
> Best regards
> John
>
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.