10 Mar 2002 06:44:07 UTC
- Distribution: Apache-DumpHeaders
- Module version: 0.11
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (13 / 310 / 0)
- KwaliteeBus factor: 1
- 75.00% Coverage
- License: unknown
- Activity24 month
- Download (3.29KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Apache::ProxyPassThru - Skeleton for vanilla proxy
#httpd.conf or some such PerlTransHandler Apache::ProxyPassThru PerlSetVar ProxyPassThru_DumpHeaders 1
This module uses libwww-perl as it's web client, feeding the response back into the Apache API request_rec structure. `PerlHandler' will only be invoked if the request is a proxy request, otherwise, your normal server configuration will handle the request.
If used with the Apache::DumpHeaders module it lets you view the headers from another site you are accessing.
This module is configured with PerlSetVar's.
If this is set to a true value we'll set r->notes("DumpHeaders") to "proxypassthru" to get the request logged in the log. This is usually what you want.
Makes it easy to have Apache::DumpHeaders only dump headers from your proxied requests.
The latest version of this module can be found at CPAN and at http://develooper.com/code/Apache::DumpHeaders/. Send questions and suggestions to the modperl mailinglist (see http://perl.apache.org/ for information) or directly to the author (see below).
mod_perl(3), Apache(3), LWP::UserAgent(3)
Ask Bjoern Hansen <email@example.com>.
Originally by Doug MacEachern.
Module Install Instructions
To install Apache::DumpHeaders, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Apache::DumpHeaders
For more information on module installation, please visit the detailed CPAN module installation guide.