[mythtv-commits] Ticket #3859: mythweb trunk stream module always forcing port 80

MythTV mythtv at cvs.mythtv.org
Sat Sep 8 15:34:23 UTC 2007


#3859: mythweb trunk stream module always forcing port 80
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  xris   
     Type:  defect     |       Status:  new    
 Priority:  minor      |    Milestone:  unknown
Component:  mythweb    |      Version:  unknown
 Severity:  medium     |   Resolution:         
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by greend139 at verizon.net):

 I solved my problem by replacing the $_SERVER['HTTP_HOST'] with
 $_SERVER['SERVER_NAME'].  This works for me, hope it helps someone else.

 Index: utils.php
 ===================================================================
 --- utils.php   (revision 14294)
 +++ utils.php   (working copy)
 @@ -1,4 +1,7 @@
  <?php
 +
 +$_SERVER['HTTP_HOST'] = $_SERVER['SERVER_NAME'];
 +
  /**
   * Utility routines used throughout mythweb
   *

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3859#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list