Rewrite URL - Apache in front and jboss serving content -


i have been trying work last 2 days since relatively new apache server. trying in local machine.

  1. i have installed apache server , acts front gate requests , sends them jboss server. through ajp method.
  2. i have enabled mod_rewrite in http.conf , want simple redirect in localhost. below tried..

rewriteengine on
rewriterule ^first.html$ second.html

this not working log says looking files in document root c:\apacheserver\apache2\htdocs , dont have files in location file comes jboss(for ex: c:/jboss4.0/jboss-4.0.3sp1/server/myapp/deploy/unisysv2.ear/web-app.war).

how make redirect work under condition.

thanks

you should configure "bridge" between apache jboss. use mod_jk module or mod_proxy purpose, implementation of ajp communication protocol between apache , jboss.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -