Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having a video streaming website. Which is using Open Source Streaming Server Red5. Is it possible some how to redirect the traffic for rtmp via Apache to the said Red5 server.

share|improve this question

You could reference all of your videos as if they were in a directory as follows:

<a href="rtmp://">

Then use Apache's reverse proxy feature to forward requests for anything in the media folder to the Red5 server.

ProxyPass /media
ProxyPassReverse /media

A request for rtmp:// would proxy through Apache to your internal server as

share|improve this answer

You can use mod proxy utility of Apache for this.Follow these steps to do so :

1.Open httpd.conf file located in the conf directory of the web server.

2.Edit the file by uncommenting them :

 LoadModule proxy_module modules/
 LoadModule rewrite_module modules/
 LoadModule proxy_http_module modules/

3.Add the following lines in the file-

 RewriteEngine On 
 RewriteRule ^/((open|send|idle|close|fcs)/.*)$$1 [P,L] 

Save the file and restart the service.You can test these changes by this URL - It should display "Bad Request.Only RTMPT supported."

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.