Are you sure you have the same configuration for all versions? The behavior is defined by UseCanonicalName and UseCanonicalPhysicalPort:
http://httpd.apache.org/docs/2.2/mod/core.html#usecanonicalphysicalport The behavior you describe for 2.2.22-1ubuntu1 seems to match the one for "UseCanonicalPhysicalPort on" while the compiled from source behavior seems to correspond to "off" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1018285 Title: Redirects incorrectly set Location header in response when Host header is set in request To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1018285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs