Apache::Handlers v.0.02

Advertisement
Advertisement

Apache::Handlers is a Perl module that provides two different methods of declaring when code snippets should be run during the Apache request phase.The code defined with the constructs provided by this module do not directly affect the success or failure of the request. Thus, this module does not provide a replacement for content, access, or other handlers.The code is executed in the order it is encountered except for CHILDEXIT, CLEANUP, PerlChildExitHandler, and PerlCleanupHandler code. These are executed in the reverse order, similar to the pairing of BEGIN and END blocks.The block construct or attribute must be run before the phase it refers to. Otherwise, it won't be run in that phase. The phases are run in the following order:CHILDINIT TRANS HEADERPARSER ACCESS AUTHEN AUTHZ TYPE FIXUP CONTENT LOG CLEANUP CHILDEXITThe RESTART phase is not an actual Apache request phase and has no effect after the server has started. It is used to define code that should run during the server startup phase when Apache reads the server configuration the second time or is gracefully (or not so gracefully) restarted. It should be used to clean up so the second configuration process won't duplicate information or cause errors.If this module is called during the ChildInit phase, then it will only call that code associated with CHILDINIT blocks. Otherwise, the CHILDINIT code will be run at the first opportunity (basically, the first request made of the child process). Thus the two Perl*Handler configuration directives in the Synopsis.SYNOPSISIn code: use Apache::Handlers qw(CLEANUP); our $global; my $session : PerlCleanupHandler; CLEANUP { our $global = undef; };In httpd.conf: PerlModule Apache::Handlers PerlChildInitHandler Apache::Handlers PerlPostReadRequestHandler Apache::Handlers Apache::Handlers -> reset;

Apache::Handlers is a Perl module that ... Handlers for Apache ...

 
  • Apache::Handlers
  • 0.02
  • James G Smith
  • Linux
  • Freeware
  • 10 Kb
  • 111
  • Free
 
 

Review Apache::Handlers

  • captcha
 

Other software of James G Smith
  • Uttu  v.0.06Uttu is a web interface driver that works with a framework and function sets to build an application.
    
    New Misc software
    • Internet Cafe Software  v.10.1.0Antamedia Internet Cafe controls, secures, and enhances the running of your Internet cafe, gaming center, library, school or hotel public computers. The software restricts access to the system, desktop, drivers, folders and programs.
    • NetSpot for Windows  v.2.8.1.600NetSpot is an application for Windows 7/8/10 that is used for wireless analysis, troubleshooting and wireless site survey.
    • NetSpot  v.2.8.830NetSpot 2 is the only professional app for wireless site survey, Wi-Fi analysis and troubleshooting on Mac OS X. It's FREE and very simple, no need to be a network expert to start using NetSpot today!