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

Changes for version 0.98_05

  • applied fix from Brian Millett so Makefile.PL can deal with Ben-SSL-1.2
  • applied patch from Rob to quiet -Wall in new PERL_SECTION code

Changes for version 0.98_04

  • added BSDI dynamic loading notes from Gary Shea <shea@xmission.com> to the INSTALL doc
  • added PRINTF method (again!) for tie'd STDOUT, spotted by Kristina Helen Long
  • the following stuff now works inside <Perl></Perl> sections:
  • %VirtualHost, %Files and %Directory
  • implemented <Limit GET POST> sections like so: $Location{"/~dougm/"} = { AuthUserFile => '/tmp/htpasswd', AuthType => 'Basic', AuthName => 'Homepage', Limit => { METHODS => 'GET POST', require => 'user dougm', }, };
  • `PerlModule' configuration directive
  • set $SIG{PIPE} = 'IGNORE'; when the server starts to avoid hosing when: `Apache->print lost connection to client' thanks to Aaron Flin for the tip

Changes for version 0.98_03

  • construct Perl interperter the first time perl_startup is called rather than the second: -slapped self upside head wondering why I did not do this before -now -DAPACHE_SSL for Stronghold or Ben-SSL does not matter -<Perl></Perl> sections work again -ugly avoid_first_alloc_hack is gone!
  • added `ENVIRONMENT' section to mod_perl.pod
  • added `PerlSetEnv' configuration directive
  • back to only PerlHandler enabled by default
  • if STATIC=1 is configured during 'perl Makefile.PL', Apache::Constants will also be linked static. This is the default on aix and bsdos.
  • $r->register_callback will now save a pointer to the request_rec rather than doing it in PerlTransHandler
  • applied patch from Martin Pool <m.pool@pharos.com.au> so we see the real line number if something goes wrong in an Apache::Registry script
  • now add -I./ and -I$Config{archlibexp}/CORE to EXTRA_CFLAGS for mod_include integration

Changes for version 0.98_02

  • $r->send_http_header now resets $r->status to 200 after calling send_http_header() to squash double header w/ Location: bug spotted by Jonathan Lieberman
  • added $r->cgi_header_out so we can _really_ send headers the way mod_cgi does (e.g. Set-Cookie bug spotted by Jonathan Lieberman)

Changes for version 0.98_01

  • made room for args in perl_call_handler() for mod_include integration in the future, this can be used to pass arguments to Perl*Handlers:
    • PerlHandlerArgs Package::sub_name OneArg TwoArg RedArg BlueArg
  • split out some config routines from mod_perl.c to config.c
  • fixed bug in Apache/Makefile.PL thanks to Jeff Rowe
  • now use translate slot to do some initialization
  • Perl*Handlers can now be anonymous subs (need 5.003_98+), e.g.:
    • PerlFixupHandler "sub { shift->header_out(Key => 'val') }"
  • finally get cleanups right:
  • PerlCleanupHandler is now run during PerlLogHandler
  • new method $r->register_cleanup uses register_cleanup underneath and is always available
  • @INC is now reset to default after each request
  • fixed "const char *" bug in typemap spotted by Honza Pazdziora

Documentation

Embed a Perl interpreter in the Apache server

Modules

Perl interface to the Apache server API
Constants defined in httpd.h
Utilities for debugging embedded perl code
OPT_* defines from httpd_core.h
Run unaltered CGI scrips under mod_perl
Embedded interpreter status information
Install Apache mod_perl and related modules

Provides

in lib/Apache/CGI.pm
in lib/Apache/CGI.pm