diff options
author | root <root@rbsd.ankarstrom.se> | 2021-04-24 00:55:09 +0000 |
---|---|---|
committer | root <root@rbsd.ankarstrom.se> | 2021-04-24 00:55:09 +0000 |
commit | 5cfdae7ccf1eece314c381d8de52acd2aee7cff9 (patch) | |
tree | 5acd2e988d41455c09058c87324e6e8f7168a0d4 /lib/Apache/Inject.pm | |
parent | accfbd3ab782b82435cf1cae9c44b87a67e069d2 (diff) | |
download | Apache-Inject-5cfdae7ccf1eece314c381d8de52acd2aee7cff9.tar.gz |
Expand documentation
Diffstat (limited to 'lib/Apache/Inject.pm')
-rw-r--r-- | lib/Apache/Inject.pm | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/lib/Apache/Inject.pm b/lib/Apache/Inject.pm index 73b88a4..e82e174 100644 --- a/lib/Apache/Inject.pm +++ b/lib/Apache/Inject.pm @@ -1,8 +1,11 @@ package Apache::Inject; +use 5.008000; use strict; use warnings; +our $VERSION = '0.01'; + use Apache2::CmdParms (); use Apache2::Module (); use Apache2::Const qw/OR_LIMIT OR_AUTHCFG TAKE12/; @@ -35,7 +38,6 @@ sub Inject { 1; __END__ - =head1 NAME Apache::Inject - Apache directive for injecting HTML headers and footers @@ -85,6 +87,7 @@ All of them result in Apache::Inject::Handler declining the request, letting Apache handle it as it would if the Inject directive were not used. =over + =item Error: InjectHead/InjectFoot should not begin with slash, as it is already always relative to document root The paths given to Inject are always relative to the document root, @@ -111,5 +114,23 @@ cannot retrieve the current document root from Apache. =back -=cut +=head1 CAVEATS + +On FreeBSD, you need to enable the accf_http kernel module +in order for the tests to work. +Note that Apache::Inject works fine without the module; +it is only the tests that require it. + +=head1 AUTHOR +John Ankarström, E<lt>john [at] ankarstrom.se<gt> + +=head1 COPYRIGHT AND LICENSE + +Copyright (C) 2021 by John Ankarström + +This library is free software; you can redistribute it and/or modify +it under the same terms as Perl itself, either Perl version 5.32.1 or, +at your option, any later version of Perl 5 you may have available. + +=cut |