Changes for version 1.99_08

  • Correct ModPerl::RegistryCooker to reset %INC, after compile for .pl files which don't declare the package + add tests to check that [Stas]
  • Log the real error message when Foo::Bar::sub_name fails to resolve, because of a problem in Foo::Bar, when Foo::Bar *was* found [Stas]
  • Add PerlPreConnectionHandler support in Apache::Test [Stas]
  • Enable PerlPreConnectionHandler [Stas]
  • Support the Host: request header in Apache::TestClient [Stas]
  • restore the ModPerl::RegistryLoader::new() method for backwards compatibility [Stas]
  • port the support for NameWithVirtualHost in ModPerl::RegistryCooker and ModPerl::RegistryLoader [Stas]
  • fix the handling of the return status in ModPerl::RegistryCooker, add a test to verify that [Stas]
  • under non-threaded perl need to check whether mod_perl is running, when modperl_vhost_is_running check is done. [Stas]
  • fix $r->read to read all the requested amount of data if possible, adjust the test TestApache::read to verify that [Stas]
  • fix the method content() in Apache::compat to read a whole request body. same for ModPerl::Test::read_post. add tests. [Stas]
  • Adjust the reverse filter test to work on win32 (remove trailing \r)
  • Randy Kobes <randy@theoryx5.uwinnipeg.ca>
    • Strongly suggest win32 users to upgrade to 5.8.0, if they run 5.6.x
  • Randy Kobes <randy@theoryx5.uwinnipeg.ca>
    • When installing the mod_perl shared object, first need to check whether the directory 'modules' already exists, and create it if not.
  • Randy Kobes <randy@theoryx5.uwinnipeg.ca>
    • Add a capability to tune the test configuration sections ordering in Apache::TestConfigPerl [Stas Bekman]
    • fix the complaining code about late PerlSwitches when PerlLoadModule is used before it [Stas Bekman]
    • add various tests that exercise PerlLoadModule and vhosts
  • Stas Bekman
    • handle correctly PerlLoadModules (directives) with vhosts:
      • handle gracefully cases when things are undef/NULL
      • handle the case when scfg==NULL, by stealing the base_servers's config
  • Stas Bekman
    • make mod_perl work with vhosts when the server is started prior to post_config():
      • call modperl_init_globals as early as possible, because the main server record is needed during the configuration parsing, for perlloadmodule and vhosts
      • also make sure that we are using a real base_server, when dealing with modperl_init, and if not retrieve it from the global record
  • Stas Bekman
    • prevent segfaults, when scfg is NULL in Apache::Module->get_config();
  • Stas Bekman
    • ensure that a core file is a file indeed, before complaining [Philippe M. Chiasson <gozer@cpan.org>]
    • add $r->as_string [Geoffrey Young]
    • add backcompat vars: $Apache::Server::CWD and $Apache::Server::AddPerlVersion [Stas Bekman]
    • env var MOD_PERL_TRACE is working again [Stas Bekman]
    • add a new test TestDirective::perlloadmodule2, which performs a more evolved merging. [Stas Bekman]
    • fix Apache::TestConfigPerl under mod_perl 1.0, need to require mod_perl.pm before using $mod_perl::VERSION [Geoffrey Young <GYoung@covad.com>]
    • add an Apache::SIG backcompat stub to Apache::compat [Stas Bekman]
    • fix the Apache::TestConfigPerl's run_apache_test_config() function where test packages are scanned for the magic APACHE_TEST_CONFIGURE and if found get require()'d. Apache2 needs to be run for mod_perl

Documentation

Run unaltered CGI scripts under mod_perl
Run unaltered CGI scripts persistently under mod_perl
Run unaltered CGI scripts persistently under mod_perl
Cook mod_perl 2.0 Registry Modules
Compile ModPerl::RegistryCooker scripts at server startup
An APR Perl IO layer
A Perl API for manipulating opaque string-content table
Perl API for Apache Logging Methods
Reload Perl Modules when Changed on Disk
A Perl API for Apache request object
Methods for work with Apache::Server object
Executing SubProcesses from mod_perl
1.0 backward compatibility functions deprecated in 2.0
Multi-Processing Model Modules

Modules

Test.pm wrapper with helpers for testing Apache
Test Configuration setup module
Special Tests Sequence Failure Finder
Utility functions for writing tests
A bundle to install all Apache-Test related modules
A Base Class of all mod_perl Registry Modules
Methods for locating and parsing bits of Apache source code
Generate mod_perl glue code
Functions to retrieve mod_perl specific env information.

Provides

APR
in xs/APR/APR/APR.pm
in xs/APR/Const/Const.pm
in xs/APR/PerlIO/PerlIO.pm
in lib/APR/XSLoader.pm
in lib/Apache/compat.pm
in lib/Apache2.pm
in xs/Apache/Const/Const.pm
in lib/Apache/compat.pm
in xs/tables/current/Apache/ConstantsTable.pm
in lib/Apache/compat.pm
in xs/tables/current/Apache/FunctionTable.pm
in lib/Apache/ParseSource.pm
in lib/Apache/ParseSource.pm
in lib/Apache/PerlSection.pm
in lib/Apache/Reload.pm
in lib/Apache/compat.pm
in lib/Apache/compat.pm
in lib/Apache/compat.pm
in lib/Apache/SourceTables.pm
in xs/tables/current/Apache/StructureTable.pm
in lib/Apache/compat.pm
in Apache-Test/lib/Apache/Test5005compat.pm
in Apache-Test/lib/Apache/TestBuild.pm
in Apache-Test/lib/Apache/TestClient.pm
in Apache-Test/lib/Apache/TestClient.pm
in Apache-Test/lib/Apache/TestCommon.pm
in Apache-Test/lib/Apache/TestCommonPost.pm
in Apache-Test/lib/Apache/TestConfigC.pm
in Apache-Test/lib/Apache/TestConfigParse.pm
in Apache-Test/lib/Apache/TestConfigPerl.pm
in Apache-Test/lib/Apache/TestConfigC.pm
in Apache-Test/lib/Apache/TestHandler.pm
in Apache-Test/lib/Apache/TestHarness.pm
in Apache-Test/lib/Apache/TestMM.pm
in Apache-Test/lib/Apache/TestReport.pm
in Apache-Test/lib/Apache/TestReportPerl.pm
in Apache-Test/lib/Apache/TestRequest.pm
in Apache-Test/lib/Apache/TestRun.pm
in Apache-Test/lib/Apache/TestRunPerl.pm
in Apache-Test/lib/Apache/TestSSLCA.pm
in Apache-Test/lib/Apache/TestServer.pm
in Apache-Test/lib/Apache/TestSmokePerl.pm
in Apache-Test/lib/Apache/TestSort.pm
in Apache-Test/lib/Apache/Test.pm
in Apache-Test/lib/Apache/TestTrace.pm
in lib/Apache/compat.pm
in lib/Apache/XSLoader.pm
in lib/Apache/compat.pm
in Apache-Test/lib/Apache/TestRequest.pm
in lib/ModPerl/BuildOptions.pm
in xs/ModPerl/Const/Const.pm
in lib/ModPerl/FunctionMap.pm
in xs/tables/current/ModPerl/FunctionTable.pm
in lib/ModPerl/MM.pm
in lib/ModPerl/Manifest.pm
in lib/ModPerl/MapUtil.pm
in lib/ModPerl/MapUtil.pm
in lib/ModPerl/ParseSource.pm
in ModPerl-Registry/lib/ModPerl/RegistryBB.pm
in ModPerl-Registry/lib/ModPerl/RegistryLoader.pm
in lib/ModPerl/StructureMap.pm
in lib/ModPerl/TestRun.pm
in lib/ModPerl/TestRun.pm
in lib/ModPerl/TypeMap.pm
in lib/ModPerl/WrapXS.pm
in lib/mod_perl.pm
in Apache-Test/lib/Apache/Test5005compat.pm