Re: .htaccess or what to name, and where to put the mime types files
"Yaniv Sharon" <[email protected]>
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Thomas, Sorry, but in double checking, if the mime.types is not exist in the old ice2 root directory - the AAC flash player dont working. So yes the mime.types is necessary. I think is for the best if you include the mime.types in the next release. Meanwhile, can you tell where to locate the file in the icecast-2.3.99.3 [win32] ? Yaniv. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of "Thomas B. R?cker" Sent: Tuesday, October 22, 2013 8:04 AM To: [email protected] Subject: Re: [Icecast-dev] .htaccess or what to name, and where to put the mime types files Hi Scott, On 10/22/2013 03:58 AM, Scott Winterstein wrote: > On Mon, Oct 21, 2013 at 7:33 PM, "Thomas B. Rücker" <[email protected]> wrote: >> On 10/21/2013 04:27 PM, Yaniv Sharon wrote: >>> Hi Thomas, >>> >>> So you can tell where to locate the files " mime.types " and " >>> crossdomain.xml " for the icecast-2.3.99.3 [win32] ? >> My initial answer remains valid when it comes to crossdomain.xml: >> >>>> The cross domain policy file needs to be individually tailored anyway. >>>> There are plenty of resources on that topic. >>>> The file is then placed in the Icecast web root. >> The webroot by default is in "share\icecast\web" on a windows build. >> >> >> Also I've done a quick sanity check on the win32 build and do not see >> yet why a mime.types file would be strictly necessary. Why do you think >> it is necessary? Is there some problem you are experiencing? >> >> >> TBR >> >>> Thnx! >>> >>> >>> -----Original Message----- >>> From: "Thomas B. Rücker" [mailto:[email protected]] >>> Sent: Tuesday, October 08, 2013 8:02 PM >>> To: Yaniv Sharon >>> Cc: [email protected] >>> Subject: Re: [Icecast-dev] icecast-2.3.99.3 >>> >>> Hi, >>> >>> If you're just after a quick-fix for mime-types... >>> >>> On 10/08/2013 04:26 PM, Yaniv Sharon wrote: >>>> Yes. I'm running The 2.3.99.3 win32 version. >>>> And if you can to provide the " mime.types " >>> This file will probably do as a quick workaround. >>> http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/conf/mime.types >>> ?revision=1305131&view=co >>> I strongly advise against using this file if you are looking at this email >>> in an archive and are not looking to fix 2.3.99.3 win32. This is just a >>> quick hack workaround for Yaniv, nothing else. >>> >>> >>>> and " crossdomain.xml " files >>> http://bit.ly/1gnt3pv >>> as said previously. >>> >>> >>> Cheers >>> >>> Thomas >>> >>> >>>> -----Original Message----- >>>> From: "Thomas B. Rücker" [mailto:[email protected]] >>>> Sent: Tuesday, October 08, 2013 5:58 PM >>>> To: [email protected] >>>> Cc: Yaniv Sharon >>>> Subject: Re: [Icecast-dev] icecast-2.3.99.3 >>>> >>>> On 10/08/2013 02:18 PM, Yaniv Sharon wrote: >>>>> So there is no usage for the " mime.types " in ice win32? >>>> Ah, so you're running the windows build? >>>> I'd need to check where it should go in that one and if it's included >>>> in the default build. If not I'll have to ask for it to be included in >>>> future builds. >>>> >>>> Cheers >>>> >>>> Thomas >>>> >>>>> -----Original Message----- >>>>> From: [email protected] >>>>> [mailto:[email protected]] On Behalf Of Thomas B. R?cker >>>>> Sent: Tuesday, October 08, 2013 5:09 PM >>>>> To: [email protected] >>>>> Subject: Re: [Icecast-dev] icecast-2.3.99.3 >>>>> >>>>> >>>>> >>>>> Yaniv Sharon <[email protected]> wrote: >>>>>> Hi, >>>>>> >>>>>> Where to locate the files " mime.types " and " crossdomain.xml " for >>>>>> the >>>>>> icecast-2.3.99.3 ? >>>>> Mime.types is usually provided by the linux/unix system icecast is >>>>> running on. >>>>> >>>>> The cross domain policy file needs to be individually tailored anyway. >>>>> There are plenty of resources on that topic. >>>>> The file is then placed in the Icecast web root. >>>>> >>>>> HTH >>>>> >>>>> Thomas > Thomas > > I would like to ask a few questions about this and learn a few things > on mimetypes and Apache Server setups running Icecast streams. Is the > mime types for the .htacess file located in the root directory of your > hosting site for your webpage? or is the .htacess able to be placed in > the actual folder hosting the page running a player of a Icecast > stream? > > I have a few instances of players > > http://dlradio.org > > a template I found that uses a java flash player > > http://dlradio.org/scottsdesk.net_hosted_webs/dlradio.org/index-tim-html5.ht ml > > a html5 player with java that uses a java flash player fallback. > > http://dlradio.org/scottsdesk.net_hosted_webs/dlradio.org/index-tim-javaflas h.html > > a java flash player.. > > My only issues ran into are some not able to play the stream > in my custom players, however the direct link works. This makes me think its a > issue with mimetypes. Your issue has absolutely nothing to do with mime types in my opinion. Even less with Apache or .htaccess files. See for yourself: http://168.103.47.57:8000/ Icecast correctly lists the content-type (aka mime-type) for your stream. Your issues are 99% purely client side issues. e.g. lack of support for mp3 playback in html5 by many browsers (I'd provide also a opus or vorbis stream to widen support). Or crossdomain policies getting in the way (see links and discussion in this thread). Cheers Thomas _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev