Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64920 - website/public_html/beta/common/code
From: dnljms_at_[hidden]
Date: 2010-08-19 07:06:03


Author: danieljames
Date: 2010-08-19 07:06:03 EDT (Thu, 19 Aug 2010)
New Revision: 64920
URL: http://svn.boost.org/trac/boost/changeset/64920

Log:
Fix redirect when serving from an odd port.
Text files modified:
   website/public_html/beta/common/code/boost_archive.php | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: website/public_html/beta/common/code/boost_archive.php
==============================================================================
--- website/public_html/beta/common/code/boost_archive.php (original)
+++ website/public_html/beta/common/code/boost_archive.php 2010-08-19 07:06:03 EDT (Thu, 19 Aug 2010)
@@ -391,7 +391,7 @@
     $url['scheme'] = 'http'; # Detect other schemes?
 
     if(!isset($url['host'])) {
- $url['host'] = $_SERVER['SERVER_NAME'];
+ $url['host'] = $_SERVER['HTTP_HOST'];
         
         if($url['path'][0] != '/') {
             $path = explode('/', $_SERVER['REQUEST_URI']);


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk