wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Apache-Jboss redirection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Apache-Jboss redirection" Watch "Apache-Jboss redirection" New topic
Author

Apache-Jboss redirection

Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
Hi,
I have an apache webserver that needs to redirect requests coming to it to a jboss server running on a different machine. The requests passin in a "searchType" request param. THe issue I am having is with redirecting the request to the jboss server, whule trying to capture the request parameter dynamically.
To clarify :

The following works:
RewriteRule /my/search http://jboss-server:8080/my/search?searchType=SEARCH_VALUE

But the following does not work
RewriteRule /my/search http://jboss-server:8080/my/search?searchType=$1

I would like to know how to capture that value dynamically.
Not sure if this is right forum. If not, sorry... But please please help! Been stuck for more than 4 hours on this.

Thanks
KArthik
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache-Jboss redirection
 
Similar Threads
Loadbalancing: Apache -> mod_rewrite; session lost
Configure Proxy in apache for JBoss
client cert authentication problem
Localhost 8080 port gets stuck in JBOSS after accessing WSDL
Apache loadbalancing, mod_rewrite, mod_proxy