Anthony's Apache::MP3 problem

Anthony Hologounis plug-discuss@lists.plug.phoenix.az.us
Tue, 29 Oct 2002 20:28:48 -0700


Bryce C wrote:

>It's pointing to 
>http://68.3.86.33:8002/Tunes//Tunes/CLASSICAL/sumi%20jo%20-%20Giordano.mp3?stream=1
>to stream.  Corrected, it works just fine.
>
>On Mon, 2002-10-28 at 10:44, ahologounis@penguinnetworking.com wrote:
>  
>
>>>Anthony Hologounis wrote:
>>>
>>>      
>>>
>>>>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.
>>>>>>>
>>>>>>>              
>>>>>>>
>>>>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
>>>>        
>>>>
>>>I still get the problem with the ix.hogleg.zone not resolving using the
>>>url http://68.3.86.33:8002/Tunes .
>>>However if I got to http://68.3.86.33:8002, I get there find, can locate
>>> the link for "Tunes" which link points to http://68.3.86.33:8002/Tunes/
>>> from which I can get to your listings and stream songs just fine.
>>>
>>>Note the trailing slash on the url that works.  With your link, our
>>>browsers are trying to find "Tunes.html", the webserver is failing to
>>>find it and is trying to then forward the browser to the defined "file
>>>not found" url, i.e. "http://ix.hogleg.zone/index.html" or some such.
>>> Check your apache.conf file to see what it's trying to throw the
>>>browser if a requested file doesn't exist.
>>>
>>>As I said, by going to your ip:8002, then navigating to the "Tunes"
>>>directory through the provided link (is there a link you *haven't*
>>>provided? ;-), I can stream things just fine.
>>>
>>>
>>>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>>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
>>>      
>>>
>>hey Guys
>>
>>I am at work now and trying to test but it still don't stream. Fetch works
>>fine though.....the correct path is http://68.3.86.33:8002/Tunes/ yes,
>>with the trailing /
>>
>>Anyways, I am stumped. Someone on the group mentioned edna..perhaps I
>>should give that a try.
>>
>>Thanks for the help!
>>
>>
>>Anthony
>>
>>
>>
>>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>>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
>>
>>    
>>
Thanks all for the help. Not being satisfied with any of it I followed 
the advice
of a previous poster. I downloaded edna..changed 3 lines in the config 
file and it all just worked. I did all this from work over lunch. Now, I 
am at peace : )


Cheers!

Anthony

-- 
Anthony Hologounis