JBoss Enterprise Application Platform 6.1
I am migrating from an older vesion to Oracle AppServer to JBoss. I was using the same instance of AppServer for both WAR applictaion deployments and cgi programs.
From what i found, JBoss does not support CGI. If it does not, i still can use an external Apache server to handle cgi. There are 2 questions
1) Does JBoss support cgi?
2) If not, can i configure JBoss to forward all calls to *cgi-bin* to another server on the same machine listening on a different port
The intention is to avoid making changes to the applications issuing cgi calls, to use a different port.
Ill answer my own question based on what i learned over the past few days
- JBoss does not support CGI
- Instead of having JBoss forward requests to Apache, better architecture is to have Apache listen to all requests and forward to JBoss as needed.
I used the mod_proxy Apache module for this purpose.