Hello, I have setup the mod proxy work with my application using the configuration below.
When I enter a url such as http://host/myapp/ the proxy works correctly. The target application comes up through the proxy However, If I change url to: http://host/myapp (without the trailing slash), the proxy request fails. I notice on the browser that it shows the URL of the target application ( http://172.17.2.114:7070/myapp) instead the url through the proxy - http://hostname/myapp. Any thoughts on what I need to change in my configuration to make this work without the trailing slash? thanks suneet RewriteCond %{HTTP_COOKIE} IAM_PARAM="userid=(.*)&tkn=(.*)&firstname=(.*)&secondname=(.*)&fullname=(.*)&role=(.*)&organization=(.*)&organizationoid=(.*)&permit=(.*)" RewriteRule ^/ - [E=var1:%1,E=var2:%2,E=var3:%3,E=var4:%4,E=var5:%5,E=var6:%6,E=var7:%7,E=var8:%8,E=var9:%9] ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> <Location "/myapp"> ProxyPass http://172.17.2.114:7070/myapp RequestHeader append tkn %{var2}e RequestHeader append userid %{var1}e RequestHeader append Firstname %{var3}e RequestHeader append Secondname %{var4}e </Location>