You are not logged in.
Anyone have a magic entry for video/x-wmv? I can't seem to find one and the last update overwrote my /etc/httpd/conf/magic file. I've got it all rebuilt, save that entry.
Offline
this is all i have..
cat magic | grep "video"
0 string 000001263 video/mpeg
0 byte 1 video/unknown
0 byte 2 video/unknown
# Quicktime video, from Linus Walleij <triad@df.lth.se>
4 string moov video/quicktime
4 string mdat video/quicktime
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
this is all i have..
cat magic | grep "video" 0 string 000001263 video/mpeg 0 byte 1 video/unknown 0 byte 2 video/unknown # Quicktime video, from Linus Walleij <triad@df.lth.se> 4 string moov video/quicktime 4 string mdat video/quicktime
Yeah, me as well. The CMS system that I use just switched to enforcing apache's magic file, so any wmv attachments that I make are appended with .txt. I've got most everything else set up in the magic file, so people have to rename the .wmv files, or I just don't put wmv's up.
But I learned about the magic file right quick.
Offline
what do you have in your /etc/mime.types?
You should have something like this..
video/x-ms-wmv wmv
you could also add this to your apache config..
AddType video/x-ms-wmv .wmv
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
what do you have in your /etc/mime.types?
You should have something like this..
video/x-ms-wmv wmvyou could also add this to your apache config..
AddType video/x-ms-wmv .wmv
That is in there, but, from what I understand, the way the app is written, php relies solely on the magic file as a classification. The way that the app is coded, the mime.types are used to check against what the magic file says that it is. If there is any doubt, then .txt is appended to the upload. This is to prevent the accidental or malicious misidentification of the file. A blunt tool, but very effective.
Offline
hmm... sounds like the app needs an entry then. I haven't run across a magic file that contained any info for .wmv format yet.. The mime.type for the extension was always used..
I will keep my eyes open though.. who knows..
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline