Skip to content

miyagawa/Apache-CanonicalName

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published