The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.86

  • Port is a little more random for tests '8529'
  • applied patch from Edmund Mergl <E.Mergl@BAWUE.DE> bringing CGI::XA up-to-date with CGI.pm 2.29
  • perl_destruct_level is set to 0 in mod_perl.c, while progress is being made on fixing perl_{con,des}truct in 5.003_12
  • if there is no httpd.conf, Makefile.PL creates one for you, filling in User and Group with uid and gid of the current process
  • updated Makefile.tmpl-1.2 with Makefile.tmpl from apache 1.2b2
  • if Makefile.PL finds apache version >= 1.2b3, instead of copying Makefile.tmpl to ../src/apache_x.x, it uses the new '-make Makefile.tmpl' option, made possible by Rob Hartill otherwise, same as before and it now tells you it's made a backup 'Makefile.tmpl.bak'
  • fixed 'make test', so you _really_ don't have to modify anything, hopefully
  • if libwww-perl is not installed, the tests that require it will not be run, and it will be suggested that you install the library, but who doesn't have libwww-perl installed???

Changes for version 0.85_06

  • same as 0.85_05, just fixed broken tarball

Changes for version 0.85_05

  • fixed Makefile.PL bug spotted by Gary Shea <shea@XMISSION.COM>
  • applied XA.pm fix from Edmund Mergl <E.Mergl@BAWUE.DE>
  • updated docs and examples here and there
  • 'make test' improved, all uneeded directives and files stripped out, should be able to run with no modification, nothing by hand other than 'make test'
  • now make sure that CC we use to build httpd is the same as CC used to build Perl, thanks to Andreas
  • added 'make offsite-tar' target for build the perl-side on machines without apache source
  • fixed Makefile.tmpl* so people define EXTRA_FLAGS as suggested by Rob Hartill
  • a few minor fixes for Apache-SSL users

Changes for version 0.85_04

  • applied patch from Rob Hartill to fix bug in $r->cgi_env
  • %ENV is cleared after each callback (&Perl*Handler)
  • added $r->cgi_var as suggested by Andreas: calls $r->cgi_env($key) in a scalar context to prevent the mistake of calling in a list context.
  • if a Perl*Handler returns something > 600 we assume OK (for now)
  • bug fixed introduced in 0.85_03 for Perl*Handler's not prefixed with a Package:: causing httpd to sigsegv
  • ship with Makefile.tmpl-Ben-SSL for Apache-SSL users
  • Makefile.PL a little smarter -knows if we're configuring with Ben-SSL, uses Makefile.tmpl-Ben-SSL -after looking for 1.1.1 and 1.2*, globs for <apache*> not <apache_*> -instead of rm -rf'ing the modules/perl/ directory we're configuring against, we only rm -f those found in our MANIFEST
  • applied patch from Frank Cringle <fdc@CLIWE.PING.DE> to fix defaults in CGI::XA
  • got rid of stupid warning "missing test.pl"

Changes for version 0.85_03

  • cleaned up internal perl_setup_env()
  • Perl*Handler's default to calling Perl*Handler::handler if the Perl*Handler is just a class name, e.g. 'PerlHandler Apache::Registry' will call Apache::Registry::handler In addition, the class module will be loaded if it is not already, so there is no need to specify PerlModule
  • added Apache::Status module
  • $r->print now sets a hard_timeout() before sending to the client $r->read now sets a hard_timeout() before reading from the client
  • added $r->soft_timeout, $r->hard_timeout, $r->kill_timeout and $r->reset_timeout methods
  • top-level Makefile.PL looks further for apache_x.x/src/ prompts you if nothing found
  • applied fix from Andreas to s/privlib/privlibexp/ in src/modules/perl/Makefile
  • applied patch from Rob Hartill <robh@imdb.com> to correctly initialize cld->sendheader and cld->setup_env

Changes for version 0.85_02

  • Apache::DBIAuthen renamed Apache::AuthenDBI and split out from Apache::Authen
  • Apache::Authen->handler renamed Apache::Authen->check as it is not a handler, only used by handlers
  • added ToDo file
  • updated UserGuide, now called 'mod_perl.pod'
  • updated INSTALL and README docs
  • perl_init will only perl_alloc and perl_contstruct once when the server starts, meaning no more mad leaks when server is restarted
  • modified test suite adding extra tests for sfio and TIEHANDLE
  • unless Perl was configured to use perlio and sfio, STDOUT is tied by default to the client, no more need for tie *STDOUT => Apache::TieHandle
  • Makefile.PL now looks for ../apache_1.1.1/src/, apache_1.2*/src/ to configure against
  • Fixed Makefile.PL bug spotted by Frank Cringle <fdc@CLIWE.PING.DE>, when no apache source was present or chosen to configure against
  • 'make clean' will now cd $(APACHE_SRC) && $(MAKE) clean
  • applied patch from Rob Hartill <robh@imdb.com> to bring us up-to-date with apache_1.2b0
  • $r->content now calls $r->read instead of $r->read_client_block
  • $r->read is no longer an alias for $r->read_client_block The new $r->read implementation is based on patches and ideas from Milan Votava <ms.anet.cz@MS.ANET.CZ>, Joonsuk Bae <bae@yahoo.com>, and Gisle

Changes for version 0.85_01

  • added 'tar_Apache' target for copying the perl-side of mod_perl to other machines without dragging the apache-side along.
  • 'perl Makefile.PL' now Configures Apache to link mod_perl if ../apache_1.2-dev or ../apache_1.1.1 src/Configuration is found In addition, 'apache_httpd' is added to the 'make all' target
  • now include Makefile.tmpl-1.2
  • fix for 1.2's const requirement

Documentation

Embed a Perl interpreter in the Apache server

Modules

Make things work with CGI.pm against Perl-Apache API
Try more than one constructors and return the first object available
Clone of CGI.pm with less backwards compatibility and less namespace pollution
Constants defined in httpd.h
Perl interface to the Apache server API
Limit user access by number of requests
Building blocks for mod_perl PerlAuthenHandler's
Authenticate via Perl DBI
Authorize based on age
Utilities for debugging embedded perl code
Translate URI's into mSQL database queries
OPT_* defines from httpd_core.h
Run (mostly) unaltered CGI scripts through mod_perl
Implement Server Side Includes in Perl
Embedded interpreter status information
tie stdio to Apache's i/o methods

Provides

in CGI-XA/lib/Apache/CGI.pm
in CGI-XA/lib/CGI/XA.pm
in CGI-XA/lib/CGI/XA.pm