Apache::DNAT - mod_perl Apache module to undo the side-effects of Net::DNAT
# in httpd.conf PerlModule Apache::DNAT PerlInitHandler Apache::DNAT PerlFixUpHandler Apache::DNAT::UnPort
This module is only intended to be used in conjuction with Net::DNAT and the Apache web server. Net::DNAT may alter the source port and IP address of web requests. This module will correct it back to its original settings for more accurate REMOTE_ADDR and REMOTE_PORT environment for CGIs and for logging.
The Apache::DNAT::UnPort fixup handler may be used to correct the UseCanonicalName effects of self-referencing URL contruction for servers on non-standard ports.
Copyright (C) 2002-2003, Rob Brown, bbb@cpan.org This package may be distributed under the same terms as Perl itself. All rights reserved.
L<Net::DNAT> L<mod_perl>,
To install Net::DNAT, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DNAT
CPAN shell
perl -MCPAN -e shell install Net::DNAT
For more information on module installation, please visit the detailed CPAN module installation guide.