View previous topic :: View next topic |
Author |
Message |
exo99 -
Joined: 03 May 2007 Posts: 4
|
Posted: Sat Aug 18, 2007 10:15 am Post subject: Adding MIME type not enough? |
|
|
Hey, got a quick question, hopefully someone can help me with.
I recently setup a new MIME type in the MIME type configuration panel on Abyss Web Serv 2x. I added...
application/x-bittorrent and then --> torrent for the extension.
Porblem is then when i click on a .torrent link on a web page i am serving, it still comes up as Unknown in IE without the Open or Save dialog box. I have also tried restarting and completly shutting down and powering on the server but still no luck.
Anyone have another idea i could try to get .torrent links working on my site? |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat Aug 18, 2007 4:05 pm Post subject: |
|
|
Maybe it's your browser? Have you tried flushing your browser's cache? |
|
Back to top |
|
 |
exo99 -
Joined: 03 May 2007 Posts: 4
|
Posted: Sat Aug 18, 2007 4:54 pm Post subject: |
|
|
ya tried that also... history, temp files, cookies etc. torrent links on other sites work fine btw. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat Aug 18, 2007 5:53 pm Post subject: |
|
|
Can you link us to one of the torrent links, so that we may test it also? |
|
Back to top |
|
 |
exo99 -
Joined: 03 May 2007 Posts: 4
|
Posted: Sat Aug 18, 2007 6:27 pm Post subject: |
|
|
Ok i found the problem and although i dont understand it, i did manage to make it work.
In my particular situation i have a download.php which is part of a tracker website/script and in that file i have the code...
header("Content-Type: application/x-bittorrent");
header('Content-Disposition: attachment; filename="'.$mysiteurl.''.$f.'"');
print($alltorrent);
but if i remove the .$mysiteurl. then it works fine.
header("Content-Type: application/x-bittorrent");
header('Content-Disposition: attachment; filename="'.$f.'"');
print($alltorrent); |
|
Back to top |
|
 |
pkSML -
Joined: 29 May 2006 Posts: 955 Location: Michigan, USA
|
|
Back to top |
|
 |
exo99 -
Joined: 03 May 2007 Posts: 4
|
Posted: Sun Aug 19, 2007 4:50 am Post subject: |
|
|
Thank you very much, i have passed your posted link and revelent info onto the dev of the tracker website script to let them know. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Aug 19, 2007 11:45 pm Post subject: |
|
|
exo99,
Your MIME type header is generated by a script so the MIME table is not used here (it is only used when the file is static i.e. not generated by a script). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|