Re: Using mod_jk with other Java programs

2008-02-19 Thread Mark H. Wood
Implementing AJP just to get proxying may be more than you want to do. However, to address your question, notice in jk-workers.properties that mod_jk doesn't point to programs; it points to host:port pairs. Whatever is listening to that port on that host will get the requests that mod_jk siphons

Using mod_jk with other Java programs

2008-02-18 Thread Daniel Winterstein
Is it possible to use mod_jk to get the Apache2 web server to forward web requests to programs other than Tomcat? E.g. can workers.properties be set to point to a non-Tomcat program? If so, what would that program have to do to interpret the incoming requests? Are the requests still in http

Re: Using mod_jk with other Java programs

2008-02-18 Thread brien colwell
mod_rewrite can also do proxy forwarding, where the web server will route the forwarded resource to the client. Use the P flag. On Feb 18, 2008 2:35 PM, Daniel Winterstein [EMAIL PROTECTED] wrote: Is it possible to use mod_jk to get the Apache2 web server to forward web requests to programs

Re: Using mod_jk with other Java programs

2008-02-18 Thread Rainer Jung
Hi Daniel, mod_jk uses a special protocol to talk to the backend server. It's called AJP13. Several backends implement the protocol, e.g. Tomcat, Jetty, Glassfish, JBoss, Geronimo (I guess because it includes Tomcat or Jetty). If you are looking for a simple solution, you might also just