The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.03

  • configure/build/INSTALL enhancements with much help from Bowen Dwelle:
  • to use an apache Configuration file that mod_perl will not edit: perl Makefile.PL CONFIG=Configuration.custom
  • perl Makefile.PL DYNAMIC=1 ALL_HOOKS=1 ... Configure mod_perl with ../apache_1.2.4/src ? [y] Shall I build httpd in ../apache_1.2.4/src for you? [y] n now, $APACHE_SRC/modules/perl/Makefile will be enabled with those hooks
  • to aid EXTRA_CFLAGS when building by hand or using a custom Configuration file: `perl -Mmod_perl -e subversion` prints: SERVER_SUBVERSION=\"mod_perl/$mod_perl::VERSION\"
  • fixed up INSTALL quite a bit
  • added $r->post_connection alias for $r->cleanup_handler
  • if 1.3b2+, drop log_error(), use new aplog_error() instead (everywhere)
  • if Tie::IxHash can't be loaded for <Perl> sections, don't complain
  • applied patch from Rob so mod_perl.pm is in the tar_Apache target
  • removed Apache->request depreciation warning
  • added redirect.t test to test remote redirect and internal redirects
  • fixed internal re-direction handling of Location: /local/file.html
  • removed several eg/ scripts that were "ports" of CGI.pm-x.xx/examples now that CGI.pm runs solid under mod_perl and mod_perl requires 5.004+, there's no need for $r->print and CGI::Switch, so those examples don't need "porting"
  • force 'PerlSendHeader On' for sub-requests, e.g. Apache::Sandwich so headers don't show up in the browser
  • fixed PerlSendHeader bug with virtual includes spotted by Scott Holdren
  • make lib/mod_perl.pm -> mod_perl.pm symlink (for 'make test') relative, suggested by Bowen Dwelle
  • applied patch from Andreas to add a new $r->subprocess_env method
  • fixed Apache::StatINC brokeness spotted by Bowen Dwelle and applied a StatINC doc patch from him too
  • fixed bug with PERL_TRACE=1 spotted by Jimmy Oh
  • restarting httpd ala kill -HUP will now reload all modules and flush the Apache::Registry cache (must set 'PerlFreshRestart On' in httpd.conf for this to work)

Documentation

using LWP::Simple and Benchmark.pm to benchmark mod_perl
benchmark mod_perl vs. CGI with File::CounterFile
First steps needed to use mod_perl as a CGI replacement
accessing the Apache API via mod_perl ($Date: 1997/10/16 23:21:47 $)
running CGI scripts under mod_perl ($Date: 1997/10/16 23:21:47 $)
frequently asked questions about mod_perl ($Date: 1997/10/16 23:21:47 $)
Embed a Perl interpreter in the Apache HTTP server
common/known mod_perl traps
mod_perl performance tuning

Modules

Perl interface to the Apache server API
Constants defined in httpd.h
Utilities for debugging embedded perl code
Utilities for mod_perl/mod_include integration
OPT_* defines from httpd_core.h
Run unaltered CGI scrips under mod_perl
Compile Apache::Registry scripts at server startup
Reload %INC files when updated on disk
Embedded interpreter status information
Install Apache mod_perl and related modules

Provides

in lib/Apache/Registry.pm
in lib/mod_perl.pm