Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 2005-10-24, 04:55 PM   #9
porncaster
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.
porncaster is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:17 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc