Contact Us Forum Rules Search Archive
WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-09-2004, 12:48 AM
Weedy Lady's Avatar
WebProWorld Veteran
 

Join Date: Nov 2003
Location: mid south USA
Posts: 385
Weedy Lady RepRank 0
Default Unrecognised filenames in 404 errors

In checking my error log on my host server stats I find a lot of my /nameofsong.midi files show up as "file does not exist" because the request was for any or all of the following file names:
/nameofsong.rmi
/nameofsong.smi
/nameofsong.psb
/nameofsong.ssa
/nameofsong.idx
/nameofsong.idx
/nameofsong.srt
and sometimes the above plus /subtitles/nameofsong.rmi, etc.

Can anyone out there tell me why this is happening? Is it a weird operating system -- a weird browser -- or has some software like Real Player taken over and is translating the .midi extension to one it can handle?

This is not an unimportant problem: My web site is greeting cards and the music is an important part of each card -- would really like to know why this is hapening and what (if anything) I can do about it.

Thanks in advance for any help that is out there waiting..........
__________________
The Weedy Lady at
http://www.happydaycards.com
Free E Cards for holidays and all occasions, fun pages and great recipes.
Reply With Quote
  #2 (permalink)  
Old 04-09-2004, 05:26 AM
WebProWorld Member
 

Join Date: Aug 2003
Location: Wales
Posts: 68
rawdist RepRank 0
Default

It is just a suggestion, but it might be worth checking if all your filenames and links match case. The odd capital in a filename may make it come up as a broken link on some servers.
Reply With Quote
  #3 (permalink)  
Old 04-09-2004, 09:25 AM
Weedy Lady's Avatar
WebProWorld Veteran
 

Join Date: Nov 2003
Location: mid south USA
Posts: 385
Weedy Lady RepRank 0
Default case matching is not the problem

No, no -- please read my message again.

I did not say that nameofsong.mid came up as a broken link!

What I said was that nameofsong.mid is being changed to all those other extensions that appear nowhere at all in my html code.

That is the mystery.
__________________
The Weedy Lady at
http://www.happydaycards.com
Free E Cards for holidays and all occasions, fun pages and great recipes.
Reply With Quote
  #4 (permalink)  
Old 04-10-2004, 10:43 AM
WebProWorld Pro
 

Join Date: Mar 2004
Location: Pittsburgh, PA, USA
Posts: 114
ChrisRC RepRank 0
Default

What's the user agent generating those hits?

The vast majority of my 404s seem to come from spiders that are on a fishing expedition for files that don't exist.
Reply With Quote
  #5 (permalink)  
Old 04-10-2004, 01:02 PM
Weedy Lady's Avatar
WebProWorld Veteran
 

Join Date: Nov 2003
Location: mid south USA
Posts: 385
Weedy Lady RepRank 0
Default To CHRISRC

You wrote:
What's the user agent generating those hits?

I checked and they come from various places, most of which look like isp accounts to me.
__________________
The Weedy Lady at
http://www.happydaycards.com
Free E Cards for holidays and all occasions, fun pages and great recipes.
Reply With Quote
  #6 (permalink)  
Old 04-10-2004, 07:30 PM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Toronto, Canada
Posts: 2,193
cyanide RepRank 0
Default

hmmm...

well, I'm not 100% sure, but I believe sub, idx, srt are sub-title formats...
might guess that while the file is playing it is looking for these subs and if they haven't been defined, then it's generating a 404
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
  #7 (permalink)  
Old 04-10-2004, 07:48 PM
Weedy Lady's Avatar
WebProWorld Veteran
 

Join Date: Nov 2003
Location: mid south USA
Posts: 385
Weedy Lady RepRank 0
Default To cyanide

"....while the file is playing it is looking for these subs and if they haven't been defined, then it's generating a 404"

So..........you think maybe the midi file is playing OK but the browser is still looking for more? Interesting!

Occasionally I do get a message from someone who says they can't get the music files. I always write back and tell them to download the latest version of Windows Media player, and often this solves the problem for them, but not always.

I guess that with the vast amount of different equipment and software out there it is amazing that such a high percentage of stuff actually does come across as it is coded to do, isn't it?

I quite worrying about colors displaying differently a long time ago, though. Since I'm not selling anything, if my visitors like what they see I'm very happy, but if it doesn't display properly and they don't let me know I have had to accept the fact: "that's life". But I still would like to know why the crazy error reports on the .mid files. There aren't that many different errors listed, but the ones I do get display the entire list of stuff noted above at one session. I hate unsolved mysteries!

Thanks for your idea.
__________________
The Weedy Lady at
http://www.happydaycards.com
Free E Cards for holidays and all occasions, fun pages and great recipes.
Reply With Quote
  #8 (permalink)  
Old 04-11-2004, 12:27 PM
paulhiles's Avatar
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: UK
Posts: 2,803
paulhiles RepRank 0
Default

I think cyanide pointed to the most likely reason for these 404 errors. Embedding the .mid files in your pages is fine, however your visitors will all have different media players or plugins installed in their browsers. So, the choice of player used to actually play the files is out of your control.

If for example, someone was using the BSPlayer, the player would be be looking around to see if there were subtitle (.srt) files to accompany the sound file. I see this as the most likely explanation for all the different file extensions appended to your soundfile names.

Here's a list of the data formats you listed above, along with their association.
  • .idx Index (many - FoxPro)
    .psb Pinnacle Sound Bank
    .rmi Midi file (RIFF RMID format)
    .smi RealPlay SMIL file
    .srt BSplayer Subtitle file
    .ssa Subtitles
Reply With Quote
  #9 (permalink)  
Old 04-11-2004, 12:36 PM
Weedy Lady's Avatar
WebProWorld Veteran
 

Join Date: Nov 2003
Location: mid south USA
Posts: 385
Weedy Lady RepRank 0
Default To: paulhiles

Thank you so much for the good information! I figured the extensions stood for specific players. I get about a couple dozen of these per month, and out of an average of 50,000 different visitors I guess it's not enough to worry about what kind of coding might be necessary to cope with all the different players, or how many additional files I would have to create and upload to my web server to take care of them.

It is true that we live in a Microsoft world, and even though a lot of you very fine people on this forum hate that, it is the fact I deal with when coding my pages and creating my files.

Thanks all for your input!!!
__________________
The Weedy Lady at
http://www.happydaycards.com
Free E Cards for holidays and all occasions, fun pages and great recipes.
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0