
bobbygill at rogers
Dec 11, 2008, 12:16 PM
Post #3 of 7
(1868 views)
Permalink
|
On Thu, Dec 11, 2008 at 3:05 PM, John H <arizonamythtv [at] gmail> wrote: > I had the same problem so I just ended up hard coding the port. To fix > your problem, in /modules/stream edit the handler.pl file on line 112 > I changed it to ':'.portnumber where portnumber is the actual port > number. > I have never gotten streaming to work, I am trying to follow this, here's an excerpt from the handler.pl I have: # ASX mode? if ($ENV{'REQUEST_URI'} =~ /\.asx$/i) { # URI back to this file? We just need to take the current URI and strip # off the .asx suffix. my $uri = ($ENV{'HTTPS'} || $ENV{'SERVER_PORT'} == 443) ? 'https' : 'http'; my $serverAddr = $ENV{'HTTP_X_FORWARDED_HOST'} || $ENV{'SERVER_NAME'} || $ENV{'SERVER_ADDR'}; $uri .= '://'.$serverAddr.':'.$ENV{'SERVER_PORT'} .$ENV{'REQUEST_URI'}; The second last line is line 112. What exactly should it look like? I have replaced "SERVER_PORT" with my port, and it still looked at port 80. Then I changed SERVER_PORT to 'SERVER_PORT'.port# but no go. I also tried replacing the 443 on the fifth line above to my port #, it still looked for port 80. Thanks Bob
|