Changes for version 0.98_12

  • applied patch from Alexander Demenshin <aldem@techie.com> to plug leaks in perl_{stdout,stdin}2client
  • can now say 'perl Makefile.PL PERL_SSI=1' to enable mod_include stuff
  • the link order of apache 1.2b12-dev has been switched back to the way it was in b10, now we only have to muck with Makefile.tmpl if $Is_b11
  • once again, ensure CGI.pm knows GATEWAY_INTERFACE if it is use'd in a PerlScript, thanks to Tom Hughes for spotting this
  • removed trick to make `require Apache::TieHandle' a noop, *nobody* should still have that in any code, if so, sorry, get rid of it!
  • inspired by Pai-Ling Hsiao, added tiny Apache::Include module so the mod_include <--!#perl directive can take advantage of Apache::Registry, like so:
    • <!--#perl sub="Apache::Include" arg="/perl/ssi.pl" -->
  • added $r->translate_name method to run translate handlers
  • fix Apache::Status so it sends http headers! spotted by Mike Stok
  • have cgi.t skip it's tests if CGI.pm is not installed, for Rob, the only person in the whole world who doesn't have CGI.pm installed ;-)
  • s/make/$(MAKE)/ for 'make test_report' thanks to Tom Hughes

Changes for version 0.98_11

  • switch Apache::parse_args behavior back to pre-0.98_09

Changes for version 0.98_10

  • if mod_php is in Configuration, keep Makefile.tmpl link order as is, and set Rule WANTHSREGEX=no
  • removed `BrowserMatch' from t/conf/httpd.conf
  • can now 'make test' without needing to run 'make' first
  • get rid of Manifest warnings during 'perl Makefile.PL'
  • reset $/ to "\n" after each request (t/net/test will test this)
  • set $ENV{GATEWAY_INTERFACE} before perl_run() so it's set for server startup PerlScript's

Changes for version 0.98_09

  • fixed bug in Apache::perl_hook('Access') spotted by Eric Bartley
  • applied patch from Peter Levart <Peter.Levart@SELECT-TECH.SI> to make Apache::parse_args more reliable
  • if using Perl 5.003, use system cp since File::Copy is broken, bug spotted by Rob
  • switch link order in Makefile.tmpl back to what it was in b10 (tmp workaround): s/$(LIBS) $(REGLIB)/$(REGLIB) $(LIBS)/ Thanks to hint from Mike Fletcher

Changes for version 0.98_08

  • added 'make test_report'

Changes for version 0.98_07

  • STATIC=1 is the default now, you make choose DYNAMIC=1
  • force STATIC=1 if $Config{osname} =~ /svr4/; #unixware
  • documented mod_perl+mod_include integration in mod_perl.pod
  • Constants.xs will now make due if SERVER_SUBVERSION is not defined
  • still build Constants.s[ol] even if we've configured with STATIC=1

Changes for version 0.98_06

  • smoothed out Stronghold configuration bumps with help from Ted Corning <ted@newscorp.com>. (see updated INSTALL)
  • documented <Perl> sections in mod_perl.pod
  • added eg/perl_sections.txt from Rob

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_cleanup 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 HTTP server

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
Embedded interpreter status information
Install Apache mod_perl and related modules

Provides

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