Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.328.317 Times

Apache2::DebugFilter 0.02

  Date Added: June 15, 2010  |  Visits: 1.087

Apache2::DebugFilter

Report Broken Link
Printer Friendly Version


Product Homepage
Download (103 downloads)



Apache2::DebugFilter is a Perl module to debug mod_perl and native Apache2 filters. Synopsis # httpd.conf # ---------- PerlModule Apache2::DebugFilter # Connection snooping (everything) PerlInputFilterHandler Apache2::DebugFilter::snoop_connection PerlOutputFilterHandler Apache2::DebugFilter::snoop_connection # HTTP Request snooping (only HTTP request body) < Location /foo > PerlInputFilterHandler Apache2::DebugFilter::snoop_request PerlOutputFilterHandler Apache2::DebugFilter::snoop_request < /Location > # in handlers #------------ use Apache2::DebugFilter; # convert bb to an array of bucket_type => data pairs my $ra_data = Apache2::DebugFilter::bb_dump($bb); while (my($btype, $data) = splice @data, 0, 2) { print "$btype => $datan"; } # dump pretty formatted bbs content to a filehandle of your choice bb_dump($bb, *STDERR); Filter Handlers snoop_connection() The snoop_connection() filter handler snoops on request and response data flow. For example if the HTTP protocol request is filtered itll show both the headers and the body of the request and response. Notice that in order to see requests input body, the response handler must consume it. The same handler is used for input and output filtering. It internally figures out what kind of stream its working on. To configure the input snooper, add to the top level server or virtual host configuration in httpd.conf: PerlInputFilterHandler Apache2::DebugFilter::snoop_connection To snoop on response output, add: PerlOutputFilterHandler Apache2::DebugFilter::snoop_connection Both can be configured at the same time. If you want to snoop on what an output filter MyApache2::Filter::output does, put the snooper filter after it: PerlOutputFilterHandler MyApache2::Filter::output PerlOutputFilterHandler Apache2::DebugFilter::snoop_connection On the contrary, to snoop on what an input filter MyApache2::Filter::input does, put the snooper filter before it: PerlInputFilterHandler Apache2::DebugFilter::snoop_connection PerlInputFilterHandler MyApache2::Filter::input This is because snoop_connection is going to be invoked first and immediately call MyApache2::Filter::input the input filter for data. Only when the latter returns, snoop_connection will do its work. snoop_request() The snoop_request() filter handler snoops only on HTTP request and response bodies. Otherwise its similar to snoop_connection(). Only normally its configured for a specific < Location >. For example: < Location /foo > PerlInputFilterHandler Apache2::DebugFilter::snoop_request PerlOutputFilterHandler Apache2::DebugFilter::snoop_request < /Location >.

Requirements: No special requirements
Platforms: Linux
Keyword: Connection Data Debugfilter Filter Libraries Perl Perl Module Perlinputfilterhandler Perloutputfilterhandler Request Snoop
Users rating: 0/10

License: Freeware Size: 6.14 KB
USER REVIEWS
More Reviews or Write Review


APACHE2::DEBUGFILTER RELATED
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  Data::Encrypted 0.07
Data::Encrypted is a Perl module to transparently store encrypted data via RSA. SYNOPSIS # functional interface: use Data::Encrypted file => "./.$0-encrypted-data", qw(encrypted); # note: login and password are not *really* the login and #...
7.17 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  Data::CGIForm 0.4
Data::CGIForm is a Perl module with form data interface. Data::CGIForm is yet another way to parse and handle CGI form data. The main motivation behind this module was a simple specification based validator that could handle multiple values....
12.29 KB  
Libraries  -  Data::Phrasebook::Loader::XML 0.12
Data::Phrasebook::Loader::XML Perl module can abstract your phrases with XML. SYNOPSIS use Data::Phrasebook; my $q = Data::Phrasebook->new( class => Fnerk, loader => XML, file => phrases.xml, dict => Dictionary, # optional ); OR my...
17.41 KB  
Libraries  -  Data::Stag 0.10
Data::Stag is a Perl module with structured tags datastructures. SYNOPSIS # PROCEDURAL USAGE use Data::Stag qw(:all); $doc = stag_parse($file); @persons = stag_find($doc, "person"); foreach $p (@persons) { printf "%s, %s phone: %sn",...
440.32 KB  
Libraries  -  Data::CTable 1.03
Data::CTable is a Perl module that helps you read, write, manipulate tabular data. SYNOPSIS ## Read some data files in various tabular formats use Data::CTable; my $People = Data::CTable->new("people.merge.mac.txt"); my $Stats =...
153.6 KB  
Libraries  -  Data::PropertyList 1998.1217
Data::PropertyList is a Perl module that can convert arbitrary objects to/from strings. SYNOPSIS use Data::PropertyList qw(astext fromtext); $hash_ref = { items => [ 7 .. 11 ], key => value }; $string = astext($hash_ref); # ... $hash_ref...
8.19 KB  
Libraries  -  Data::SpreadPagination 0.1.2
Data::SpreadPagination is a Perl module for page numbering and spread pagination. SYNOPSIS use Data::SpreadPagination; my $pageInfo = Data::SpreadPagination->new({ totalEntries => $totalEntries, entriesPerPage => $entriesPerPage, #...
7.17 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB