I am trying to map
http://localhost:8080/foo which is on apache. to my
jboss server application which is
http://192.168.1.97:18793/sbm/
I am able to get login page which is "http://localhost:8080/foo" which actually got response from "http://192.168.1.97:18793/sbm/bpmportal/lgoin.jsp" but when i try to login it give me resource not found which is "sbm/mytask/bizsite.task" but the url is actully not right it is "sbm/bpmportal/mytask/bizsite.task".
What needs to be done in order to correct that error. Though image is getting from right locaiton "http://localhost:8080/foo/bpmportal/css/theme01/images/savvion_business_manager_logo.gif". below is the httpd.conf file extract . any help will be appreciated.
<IfModule mod_proxy.c>
RewriteEngine On
#rewritemap pages txt:c:/pids.txt
#RewriteCond %{QUERY_STRING} ^p=([0-9]+)$
#RewriteRule ^/$ /${pages:%1¦NULL}? [R=301,L]
# let the server know that we were reached via /xyz and not
# via the physical path prefix /abc/def
#RewriteBase /foo
# now the rewriting rules
#RewriteRule ^/foo(.*) sbm [P]
ProxyRequests Off
<Proxy *>
Order deny,allow
Deny from all
Allow from all
</Proxy>
#proxyPass /foo/ !
ProxyPass /foo
http://192.168.1.97:18793/sbm
ProxyPassReverse /foo
http://192.168.1.97:18793/sbm
#ProxyPassMatch ^(/.*\./.*)$
http://192.168.1.97:18793/sbm
#ProxyRemote
http://localhost:8080/foo http://192.168.1.97:18793/sbm
</IfModule>