Merge lp://staging/~abentley/charms/precise/charmworld/preserve-host into lp://staging/~juju-jitsu/charms/precise/charmworld/trunk
Proposed by
Aaron Bentley
Status: | Merged |
---|---|
Merged at revision: | 38 |
Proposed branch: | lp://staging/~abentley/charms/precise/charmworld/preserve-host |
Merge into: | lp://staging/~juju-jitsu/charms/precise/charmworld/trunk |
Diff against target: |
11 lines (+1/-0) 1 file modified
scripts/configure-apache2 (+1/-0) |
To merge this branch: | bzr merge lp://staging/~abentley/charms/precise/charmworld/preserve-host |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju-Jitsu Hackers | Pending | ||
Review via email: mp+146651@code.staging.launchpad.net |
Description of the change
Retain Host header so generated urls are right
FWICT, something in the stack was getting the application URL wrong because
Apache was rewriting the Host header to the actual ip address of the
appserver, rather than the host requested by the client. This change
preserves the host header, fixing generated URLs (especially, the login url).
To post a comment you must log in.
lgtm thanks for the fix
https:/ /codereview. appspot. com/7301045/