Anthony's Apache::MP3 problem

Anthony Hologounis plug-discuss@lists.plug.phoenix.az.us
Sat, 26 Oct 2002 21:57:53 -0700


Bryce C wrote:

>Which is why it never works off your network.
>
>On Sat, 2002-10-26 at 21:17, Anthony Hologounis wrote:
>  
>
>>Bryce C wrote:
>>
>>    
>>
>>>Also, what is this ix.hogleg.zone?  It doesn't resolve.  I think that's
>>>the greater problem.
>>>
>>>On Sat, 2002-10-26 at 19:07, Matt Alexander wrote:
>>> 
>>>
>>>      
>>>
>>>>Anthony,
>>>>I deleted your email and then found the answer to your problem.  Your .m3u
>>>>playlist files are using port 80.
>>>>~M
>>>>
>>>>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>>>PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>>>>To subscribe, unsubscribe, or to change  you mail settings:
>>>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>
>>>>
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>Sorry, forgot to mention ix.hogleg.zone is my internal server..right, it 
>>will never resolve
>>
>>-- 
>>Anthony Hologounis
>>
>>
>>
>>
>>
>>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>>To subscribe, unsubscribe, or to change  you mail settings:
>>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
>>
>>
>>    
>>
Right thats why I changed the StreamBase variable

This is in the httpd.conf file

#For the MP3's
<Location /Tunes/>
       SetHandler perl-script
       PerlHandler Apache::MP3
PerlSetVar StreamBase http://68.3.86.33:8002
#PerlSetVar StreamBase http://localhost
#PerlSetVar AllowStream yes
#PerlSetVar AllowDownload yes
#PerlSetVar AllowPlayLocally yes
#PerlSetVar BaseDir ./apache_mp3
</Location>



I read this from the Apache::MP3 pearl module

LocalNet *URL*
        This configuration variable is used in conjunction with StreamBase
        to disable StreamBase for clients on the local network. This is
        needed for firewall configurations in which the web server is
        accessed by one address & port by hosts behind the firewall, and by
        another address & port by hosts outside the firewall.

        The argument is a dotted subnet address, or a space-delimited list
        of subnets. For example:

          PerlSetVar LocalNet "192.168.1 192.168.2 127.0.0.1"

        Address matching is done by matching the address from left to right,
        with an implied dot added to the end of the subnet address. More
        complex subnet matching using netmasks is desirable, but not
        implemented.



Try it again if you would:

http://86.3.86.33:8002/Tunes


You should be able to fetch and stream


Thanks!


Anthony



-- 
Anthony Hologounis