Swimminginthought

A place for all things technical and my mind..

Menu
  • About Me / Hire Me
Menu

Who Said you needed IIS to Stream Windows Media on Apache [Solved]

Posted on May 16, 2012 by Percy Kwong

So you’ve got tons of windows media files and you need to stream them.  The only problem is IIS has tons of overhead and the update headaches of Patches is getting old.  So… here’s a quick and easy solution.

Once again, I’m going to assume you’re running Centos or Redhat.  This applies to any Apache solution.

It’s really quick and easy.

1. cd /etc/httpd/conf

2. vi httpd.conf

3. add the following lines to the file.  I would suggest you find the AddType area and add it there.  It just makes things easier.  Just type “/AddType”
AddType video/x-ms-asf asf asx
AddType audio/x-ms-wma wma
AddType audio/x-ms-wax wax

Now, just save the file and you’re done.

Remember to type the following:

service httpd restart

This actually restarts the apache server and makes it all work.  Congrats!  You can now stream windows media!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • Kubernetes install gotcha on CentOS-7.x
  • Infrastructure as Code using AWS Cloudformation
  • Does SSL matter? It does and it’s not just web encryption.
  • Apache can’t serve the .well-known directory
  • Cloudy with a chance of Meatballs
  • Resurrection of the Blog
  • Encryption type Matters with Deep Packet Inspection – solved
  • Completely off topic.. Just a personal note.
©2023 Swimminginthought | Built using WordPress and Responsive Blogily theme by Superb