Index of /lib/archives/Apache-CanonicalName-0.01
Name Last modified Size Description
Parent Directory 19-Nov-2006 09:32 -
Apache-Test/ 02-Sep-2002 18:02 -
CanonicalName.xs 02-Sep-2002 17:59 1k
Changes 02-Sep-2002 17:59 1k
MANIFEST 02-Sep-2002 17:59 1k
Makefile.PL 02-Sep-2002 17:59 1k
lib/ 02-Sep-2002 18:02 -
t/ 02-Sep-2002 18:02 -
typemap 02-Sep-2002 17:59 1k
NAME
Apache::CanonicalName - ap_construct_url port to mod_perl
SYNOPSIS
# in httpd.conf
UseCanonicalName On
ServerName www.example.com
# in your mod_perl handler
use Apache::CanonicalName;
# this module adds construct_url method to Apache
$r->header_out(Location => $r->construct_url("/bar/"));
DESCRIPTION
Apache::CanonicalName allows you to use "ap_construct_url" from inside
mod_perl. It constructs url correctly using "UseCanonicalName"
configurations.
See http://httpd.apache.org/docs/mod/core.html#usecanonicalname for
details.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
SEE ALSO
the Apache::URI manpage