On 5/24/07, Interalab <[EMAIL PROTECTED]> wrote:

I haven't used HTTPd for anything in a very long time.  I'm not going to
be any help in configuring the two together.  Sorry.


Thanks Bill, you were very helpful all along!


So here's where I got so far, if anyone is interested:

On apache2, in httpd.conf I enabled the following lines:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

Somewhere below I did:

<IfModule proxy_module>
   ProxyRequests Off
   ProxyPass /open  http://localhost:8080/red5/open
   ProxyPass /send  http://localhost:8080/red5/send
   ProxyPass /idle  http://localhost:8080/red5/idle
   ProxyPass /close http://localhost:8080/red5/close
</IfModule>

And I added the 4 servlet mappings besides the existing /rtmpt one in red5's
web.xml:

   <servlet-mapping>
       <servlet-name>rtmpt</servlet-name>
       <url-pattern>/open/*</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
       <servlet-name>rtmpt</servlet-name>
       <url-pattern>/close/*</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
       <servlet-name>rtmpt</servlet-name>
       <url-pattern>/send/*</url-pattern>
   </servlet-mapping>
   <servlet-mapping>
       <servlet-name>rtmpt</servlet-name>
       <url-pattern>/idle/*</url-pattern>
   </servlet-mapping>


What needs to be further done:

the RTMPServlet expects to find in the ServletContext an attribute named
RTMPTHandler.HANDLER_ATTRIBUTE = "red5.RMPTHandler"
which is an instance of the RTMPTHandler class;

Normally this attribute is set in the TomcatRTMPTLoader or RTMPTLoader (for
Jetty)

So now I am searching a way of injecting the RTMPTHandler into the
ServletContext using Spring..

Vlad
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to