[linux-audio-user] Lend me your ears

james at dis-dot-dat.net james at dis-dot-dat.net
Mon May 30 14:37:12 EDT 2005


On Mon, 30 May, 2005 at 02:00PM +0200, tommy spake thus:
> Mark Constable schrieb:
> 
> >On Monday 30 May 2005 21:11, james at dis-dot-dat.net wrote:
> >  
> >
> >>On Mon, 30 May, 2005 at 12:54PM +0100, nigel henry spake thus:
> >>    
> >>
> >>>Hi James. Why is it when I click on your .ogg files the downloader opens up 
> >>>kwrite, and all I end up with is a load of code in kwrite? Normally I get the  
> >>>"open or save the file" box. I mean, I'd like to listen to the tune not read 
> >>>the .ogg code.
> >>>This is on FC1, KDE, and Kmail.   Probably a stupid error on my part, but any 
> >>>hints would be welcome. Nigel.
> >>>      
> >>>
> >>Not your fault.  It happens to me, too.  For some reason, konqueror
> >>isn't recognising that it's anything that shouldn't be read by human
> >>eyes.  This might be the server or konqueror, I'm not sure.
> >>
> >>I'm investigating.
> >>    
> >>
> >
> ># curl -I http://dis-dot-dat.net/music/alltehtriptest.ogg
> >HTTP/1.1 200 OK
> >...
> >Content-Type: text/plain
> >
> >You have to tell your apache server to deliver a content type of
> >application/ogg for Ogg Vorbis files.
> >
> >echo "application/ogg ogg" >> /etc/mime.types and restart apache.
> >  
> >
> this is only possible if thats an root-server and not a virtual webserver.
> in case its an virtual one, you have to do the following:
> 
> add a line
> 
> AddType application/ogg ogg 
> 
> to a file named .htaccess in that directory where your .ogg file resides.
> if the .htaccess file doesn't exist, create it.

Bah!  If I'd read all the emails before I started mucking around, I
could have saved myself lots of reading.

Oh well.

Thanks for the info.
 
> see also: 
> http://www.webhelpinghand.com/htaccess_mime.htm
> 
> 
> >To compare...
> >
> >curl -I http://radio.opensrc.org/Merelte_Tuulee__Vesuris_Kmoeno_Mix.ogg
> >
> >
> >
> >  
> >
> 
> 

-- 
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you."
(By Vance Petree, Virginia Power)



More information about the Linux-audio-user mailing list