| Author |
Message |
morganizeit
Joined: 06 May 2004
Posts: 3
Location: Austin, TX
|
| Posted: Thu Jul 17, 2008 8:25 am Post subject: Playing MP3 files from Linode Server? |
|
|
| I'm in the process of rebuilding a server that hosts a few different websites and stored .mp3 files that were then played in a browser. I've got the websites back up and running just fine, but Apache isn't allowing any of the audio files to be played. Anyone have any suggestions why this might be? I've tried installing the music index mod for Apache, but it didn't help at all. I'm sure it's something fairly simple, but I'm having no luck with this. |
|
| Back to top |
|
SteveG
Joined: 30 Nov 2003
Posts: 199
|
| Posted: Thu Jul 17, 2008 2:37 pm Post subject: |
|
|
| Do the files just download? Then probably the content-type isn't being set properly. I've no idea if this something the music index mod is supposed to do, but in Debian, the default apache2 config points at /etc/mime.types (via the TypesConfig directive), and also adds types via the AddType directive. |
|
| Back to top |
|
morganizeit
Joined: 06 May 2004
Posts: 3
Location: Austin, TX
|
| Posted: Fri Jul 18, 2008 1:12 pm Post subject: |
|
|
| Actually, it doesn't do a thing. The file doesn't play nor download. And if I put a URL in to go directly to the list of files, it shows them all in the browser window and when I click on one it goes to a blank page but nothing happens. |
|
| Back to top |
|
mwalling
Joined: 10 Dec 2007
Posts: 114
|
| Posted: Fri Jul 18, 2008 5:05 pm Post subject: |
|
|
| What does the error_log say? |
|
| Back to top |
|
SteveG
Joined: 30 Nov 2003
Posts: 199
|
| Posted: Fri Jul 18, 2008 10:54 pm Post subject: |
|
|
| First guess would be a permission/ownership problem on the MP3 files. |
|
| Back to top |
|
| |