NAME

Apache::DNAT - mod_perl Apache module to undo the side-effects of Net::DNAT

SYNOPSIS

  # in httpd.conf

  PerlModule Apache::DNAT
  PerlInitHandler Apache::DNAT
  PerlFixUpHandler Apache::DNAT::UnPort

DESCRIPTION

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

  Copyright (C) 2002-2003,
  Rob Brown, bbb@cpan.org

  This package may be distributed under the same terms as Perl itself.

  All rights reserved.

SEE ALSO

 L<Net::DNAT>
 L<mod_perl>,