Apache doesn't send me an MP3 header even when using a direct address to the file. It means I can play it with Flash audio players on my web pages, but when I tried to download from the direct address on my server I got:
Error 101 (net::ERR_CONNECTION_RESET): The connection was reset
Or it sometimes gives me a file with a .mp3
file extension that just has a file size of 13 bytes. When I open that file in gedit/Notepad there is just:
<html></html>
I don't have any problem with PHP files and images, but the MP3 files are never send to the browser for download or play.
I added the following code to httpd.conf
, but there is not any difference!
AddType audio/mpeg .mp3