|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1 |
Internet! Is that thing still around?
Join Date: Oct 2005
Posts: 4
|
Problem linking to wmv's
I made my first movie gallery (yay?), but there seems to be a problem with either the links to the movies, or the movies themselves. When someone left clicks on them, instead of downloading the movie it opens a huge text document. The links aren't broken, since right-click/save target as will allow you to download them. Anyway to fix this?
http://www.porno-parade.com/galleries/bigcocksex/allie/ While you're there...any other tips? |cool| |
![]() |
![]() |
![]() |
#2 |
Shut up brain, or I'll stab you with a Q-tip!
|
it's problem on your computer only, i guess you have associated the wmv files with wordpad or something like that
here, it opens a download dialog box |
![]() |
![]() |
![]() |
#3 |
I'm a jaded evil bastard, I wouldn't piss on myself if I was on fire...
|
Here it plays in my windoze media player...
It scrolls widthways in 1024x - might want to look at addressing that...
__________________
I sale Internet My sites have no traffic and no PR - let's trade - PM me |
![]() |
![]() |
![]() |
#4 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
|
![]() |
![]() |
![]() |
#5 |
Internet! Is that thing still around?
Join Date: Oct 2005
Posts: 4
|
It can't be only on my computer, since 2 other people told me that it happens to them as well.
Thanks to everyone for your responses. |
![]() |
![]() |
![]() |
#6 |
Shut up brain, or I'll stab you with a Q-tip!
|
well this means that they have wrong file associations too
you can't do much about that.... here it's ok |
![]() |
![]() |
![]() |
#7 |
Registered User
|
Heres a test for you. Take a simple text file, you dont have to place anything in it. Save it as a wmv file just like you would if you were saving a html page. Then double click it. If it opens in MS media player or some other media player then all is cool. granted it wont play anything and you most likly will get an error. But this is a quick and easy way to find out if MS Media player is associated to play those files. If it opens back up in notepad then its not. Also make sure you can see the full extention of the file. If you do not have that option set on your system. When you go to save it from notepad, you will really end up saving "filename.txt.wmv
One last thing, look in your event viewer, it sould tell you the problem or at least give you some error codes that you can then go and search google on or MS. Hope this helps.. |
![]() |
![]() |
![]() |
#8 |
Trying is the first step towards failure
|
It's your webserver config. It doesn't send out the correct mime-type in the HTTP headers:
Connecting to www.porno-parade.com[207.234.209.65]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1,212,341 text/plain
__________________
Submit galleries/links | Trade Hardlnks | Free Forum Hosting | Build your own search engine | Sponsor scorecard |
![]() |
![]() |
![]() |
#9 |
Internet! Is that thing still around?
Join Date: Oct 2005
Posts: 2
|
mr stiff is right. try this::
find a file named mime.types in the directory <apache>/conf where <apache> is the directory the webserver is installed in. you are running redhat, so <apache> will probably be /usr/local/apache2/. i believe in apache2, there is also a copy at /etc/mime.types and im not sure which one is used. in any event, modify any mime.types files you find by adding these lines # various Micro$oft extensions video/x-ms-asf asf asx video/x-ms-wm wm video/x-ms-wmv wmv video/x-ms-wmx wmx video/x-ms-wvx wvx restart apache, and it should work correctly. if it still doesnt work, apache is probably using yet another mime.types file. run 'find / | grep mime.types' and modify any mime.types files that are found. |
![]() |
![]() |
![]() |
#10 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
If you haven't got access to the .conf files, but you are able to edit the .htaccess file, then you can add the following line:
AddType video/x-ms-wmv wmv
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
#11 |
Internet! Is that thing still around?
Join Date: Oct 2005
Posts: 4
|
I don't think I can access the .conf files...and I'm not sure about .htaccess either
![]() |
![]() |
![]() |
![]() |
#12 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
If you are on shared hosting (Internet Turnpike?) then you most definately haven't got access to the .conf files.
Looking at their plans you might be able to edit (or create) .htaccess files. You could contact support and ask them to update their server's .conf files to inlude .wmv (and the others) as they are standard file extensions.
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
#13 |
Internet! Is that thing still around?
Join Date: Oct 2005
Posts: 2
|
if you have ftp/sftp/scp access, you can create a text file named .htaccess on your computer, and upload it to the document root. apache looks for them at every request, so the changes should take effect immediatelly.
if you are using windows, you cant do the normal left click > new file > text file because it assumes .htaccess is not a valid name. instead, open notepad, paste AddType video/x-ms-wmv wmv and save as .htaccess. if adding an .htaccess file doesnt work, that probably means that AllowOverride None is set in the servers httpd.conf file, and you would have to ask your host to change it to AllowOverride All , or just add the mime types for you. |
![]() |
![]() |
![]() |
#14 |
Women might be able to fake orgasms But men can fake whole relationships
Join Date: Oct 2003
Location: Fort Lauderdale, Fl
Posts: 2,408
|
Make sure when you save the .htaccess file from notepad you choose save as and also select save as type > all files, for notepad saves as .txt by default.
You will end up saving a file .htaccess.txt instead of .htaccess if you don't. |
![]() |
![]() |
![]() |
#15 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
Yes, Windows is strange like that isn't it?
It won't let you create a file called .htaccess because You must type a filename, but you can save as a file called .htaccess. Thanks for the help, Mr G ![]()
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
#16 |
Internet! Is that thing still around?
Join Date: Oct 2005
Posts: 4
|
Awesome! I added the .htaccess and now the files open in windows media player for me.
You guys rock, thanks a lot ![]() |
![]() |
![]() |
![]() |
#17 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Macs will not let you name a file .anything since files that start with a dot are invisible. Well actually they will but you get warned that it will become invisible and if you hit ok it becomes invisible.
I just name mine htaccess and then add the dot after it is on the server. |
![]() |
![]() |
![]() |
#18 |
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
Cleo, I have never used a Mac, but on *nix and Win* you have the option of showing invisible/hidden files... is that not an option with Macs?
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. |
![]() |
![]() |
![]() |
#19 | |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
Quote:
You can turn invisibles on, it's global, but then the Finder (file browser) will be a mess of normally invisible files. You can also use one of the many 3rd party file browsers that will show invisibles. You could also open up a shell in terminal and use bash or whatever is your favorite CLI. Just seems simpler to rename them on the server. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|