[users@httpd] Question about Mod-proxy

2012-01-24 Thread Suneet Shah
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 p

Re: [users@httpd] Mod-ReWrite

2011-09-24 Thread Suneet Shah
Sorry, please disregard my question. I found my error. On Sat, Sep 24, 2011 at 11:04 PM, Suneet Shah wrote: > I tried to add another parameter to the query string and now the different > parameters are getting merged together > I am not sure if my error is in the RewriteCond

Re: [users@httpd] Mod-ReWrite

2011-09-24 Thread Suneet Shah
yz;var2:mylogin userid: (null) RewriteCond %{QUERY_STRING} tkn=(.*)&userid=(.*) RewriteRule ^/test_rpc - [E=var1:%1;var2:%2] RequestHeader append tkn %{var1}e RequestHeader append userid %{var2}e thanks for your help On Sat, Sep 24, 2011 at 10:44 PM, Suneet Shah wrote: > Mark, > > Many

Re: [users@httpd] Mod-ReWrite

2011-09-24 Thread Suneet Shah
Mark, Many thanks for your help. This now works Suneet On Sat, Sep 24, 2011 at 10:33 PM, Mark Montague wrote: > On September 24, 2011 22:23 , Suneet Shah > wrote: > >> I made the change that you described below. Now the tkn header is coming >> in as null. Have I made

Re: [users@httpd] Mod-ReWrite

2011-09-24 Thread Suneet Shah
> On September 24, 2011 16:06 , Suneet Shah > wrote: > >> I have the following url: >> http://localhost/test_rpc/**header.jsp?tkn=abc<http://localhost/test_rpc/header.jsp?tkn=abc> >> >> In my httpd.conf I added the following: >> >> RewriteEngine on &g

Re: [users@httpd] Mod-ReWrite

2011-09-24 Thread Suneet Shah
do you need coma or ; between the vars etc, but > thats the general idea. > > Cheers, > Igor > On Wed, Sep 21, 2011 at 8:51 AM, Suneet Shah wrote: > >> Thanks Igor. >> >> Would you be able to point me to an example? I dont fully understand how I >> can confi

Re: [users@httpd] Mod-Proxy and Mod-Headers

2011-09-21 Thread Suneet Shah
ax in the > [E=var1:%1,var2:%2] flag, ie do you need coma or ; between the vars etc, but > thats the general idea. > > Cheers, > Igor > On Wed, Sep 21, 2011 at 8:51 AM, Suneet Shah wrote: > >> Thanks Igor. >> >> Would you be able to point me to an example? I dont

Re: [users@httpd] Mod-Proxy and Mod-Headers

2011-09-20 Thread Suneet Shah
ble and then set that var as header. > On Sep 21, 2011 7:32 AM, "Suneet Shah" wrote: > > Hello, > > > > I had a question about Mod-Proxy and Mod_headers > > > > 1) Is it possible to take a values that are on a query string and pass > them >

[users@httpd] Mod-Proxy and Mod-Headers

2011-09-20 Thread Suneet Shah
Hello, I had a question about Mod-Proxy and Mod_headers 1) Is it possible to take a values that are on a query string and pass them as headers? If so how? For example, if I have: http://host/myap?userid=abc&role=myrole I would like to take the values in the query string and pass them as headers

Re: [users@httpd] Mod-Proxy

2011-09-15 Thread Suneet Shah
Hi Joshua, thanks for your help with this. this is application was developed by a 3rd party. Sounds like this will be fun Regards, Suneet On Thu, Sep 15, 2011 at 1:40 PM, Joshua Stoutenburg wrote: > On Thu, Sep 15, 2011 at 10:09 AM, Suneet Shah > wrote: > > Hello, > >

[users@httpd] Mod-Proxy

2011-09-15 Thread Suneet Shah
Hello, I am trying to setup a reverse proxy to one of our applications, but I am finding that the page comes up, but all the urls that load the stylesheets and javascript are all broken. I have pasted below my configuration. Any thoughts on what I am doing wrong or overlooked? ProxyPass http:/

Re: [users@httpd] Mod Proxy

2011-09-11 Thread Suneet Shah
Thanks Eric On Sun, Sep 11, 2011 at 3:53 PM, Eric Covener wrote: > On Sun, Sep 11, 2011 at 3:39 PM, Suneet Shah > wrote: > > Hello, > > > > I have setup a basic proxy configuration as shown below. The application > we > > are integrating with, makes use

[users@httpd] Mod Proxy

2011-09-11 Thread Suneet Shah
Hello, I have setup a basic proxy configuration as shown below. The application we are integrating with, makes use of Java Applets that are launched through a JNLP file. I would like to know if this applet will be loaded through the proxy or if the proxy skips this. In production we will have ru

[users@httpd] Question About Mod-Headers

2011-09-11 Thread Suneet Shah
hello, I am using Mod-Headers to pass some customer headers to one of our applications. I am passing some customer header using the directive below. However I am noticing that the module converts the header value to be lower case. The application that we are passing these to is checking the header