Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-28 Thread Eric Covener
The original questions remains:- for configuration below covers for http:://x.com/index.html but not http://x.com. Please assist with the rewriterule statement. Location /index.html Redirect /index.html http://x.com/E/e.jsp /Location Try repeating it in LocationMatch ^/$.

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Edel O Callaghan
Hi, Your code should read as follows: You don't need to qualify the string you are looking for... Both of the below options wiil work RewriteRule ^\/aboutUs$ http://xxx.test.com/aboutUs.jsp?DView=AboutUs[R,L,P] or RewriteRule ^\/aboutUs$ /aboutUs.jsp?DView=AboutUs [R,L,P] Edel On Sat,

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Eric Covener
RewriteRule ^\/aboutUs$ /aboutUs.jsp?DView=AboutUs [R,L,P] There's no need to escape the / - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Edel O Callaghan
For some reason, it wouldn't work unless we escaped the '/' maybe because we are not using the full url Edel Sony Xperia T on O2 Eric Covener cove...@gmail.com wrote: RewriteRule ^\/aboutUs$ /aboutUs.jsp?DView=AboutUs [R,L,P] There's no need to escape the /

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Kheng
Thanks for ur reply. I need to understand what is parameter aboutUs and AboutUs. Is it the same ? It is http://x.com in my example ? Sent from my iPhone On 28/01/2013, at 4:09 AM, Edel O Callaghan ede...@gmail.com wrote: For some reason, it wouldn't work unless we escaped the '/' maybe

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Eric Covener
On Sun, Jan 27, 2013 at 5:27 PM, Kheng kheng_ee_...@yahoo.com wrote: I need to understand what is parameter aboutUs and AboutUs. Is it the same ? It is http://x.com in my example ? What are you asking of the people on this list? What the significance of your own URL's are? Could you try

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Kheng_Ee
With regards to your suggestion;- RewriteRule ^\/aboutUs$ http://xxx.test.com/aboutUs.jsp?DView=AboutUs [R,L,P] or RewriteRule ^\/aboutUs$ /aboutUs.jsp?DView=AboutUs [R,L,P]   Can you tell me what is the parameter aboutUs and AboutUs ? As an example I gave you.  I only have http://x.com

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Eric Covener
On Sun, Jan 27, 2013 at 9:11 PM, Kheng_Ee kheng_ee_...@yahoo.com wrote: With regards to your suggestion;- RewriteRule ^\/aboutUs$ http://xxx.test.com/aboutUs.jsp?DView=AboutUs [R,L,P] or RewriteRule ^\/aboutUs$ /aboutUs.jsp?DView=AboutUs [R,L,P] Can you tell me what is the parameter

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-27 Thread Kheng_Ee
Eric,  Can you not remove my historical trails.. later when I ask question it become I ask out of the blue ? So you mentioned Edel in this thread gave you one of his own examples that dependedon matching that URL.  It's probably not a very good example. Will anyone help me with the good

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-25 Thread Igor Cicimov
On 25/01/2013 6:50 PM, Igor Cicimov icici...@gmail.com wrote: On 25/01/2013 6:30 PM, Chris Geer ch...@cxtsoftware.com wrote: On Tue, Jan 22, 2013 at 10:51 PM, Kheng-Ee Sim kheng_ee_...@yahoo.com wrote: yes apache proxying to Tomcat 6 (backend server). those xx.jsp scripts are all in

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-25 Thread Kheng_Ee
Thanks guys for your reply.  I actually switched from reverse proxy to mod_jk and it solved it.  I didn't make any changes to tomcat.   However, with mod_jk I bumped into another problem which I posted earlier. The http://x.com has error 503.   http://x.com/index.html works.     Those two url

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-25 Thread Igor Cicimov
On 25/01/2013 8:36 PM, Kheng_Ee kheng_ee_...@yahoo.com wrote: Thanks guys for your reply. I actually switched from reverse proxy to mod_jk and it solved it. I didn't make any changes to tomcat. However, with mod_jk I bumped into another problem which I posted earlier. The http://x.com has

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-25 Thread Kheng_Ee
True no magic in IT.   I posted the httpd configuration  in another thread(The worker's properties is basic standard, I can only post it on Tuesday) Sent: Friday, 25 January 2013 2:02 PM Subject: Apache 2.4.3/mod_jk vs mod_proxy. This is the part of  httpd.conf for non-SSL request.

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-25 Thread Edel O Callaghan
Thank You for your reply. We figured out the issue today we escaped the URL as shown below and it all worked like magic! RewriteRule ^\/home$ /index.jsp?DView=HomePage [R,L,P] Thanks again, Edel. On Fri, Jan 25, 2013 at 9:26 PM, Kheng_Ee kheng_ee_...@yahoo.com wrote: True no magic in IT.

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-25 Thread Kheng_Ee
Please let me understand the rewriterule using my data. So it should be ?  RewriteRule ^\/http://x.com$ /index.html?DView=http://x.com [R,L,P] From: Edel O Callaghan ede...@gmail.com To: users@httpd.apache.org; Kheng_Ee kheng_ee_...@yahoo.com Sent:

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-24 Thread Chris Geer
On Tue, Jan 22, 2013 at 10:51 PM, Kheng-Ee Sim kheng_ee_...@yahoo.comwrote: yes apache proxying to Tomcat 6 (backend server). those xx.jsp scripts are all in tomcat 6. apache and tomcat are on different systems. followed the ideas on documentation use proxypass and reverseproxypass and

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-24 Thread Igor Cicimov
On 25/01/2013 6:30 PM, Chris Geer ch...@cxtsoftware.com wrote: On Tue, Jan 22, 2013 at 10:51 PM, Kheng-Ee Sim kheng_ee_...@yahoo.com wrote: yes apache proxying to Tomcat 6 (backend server). those xx.jsp scripts are all in tomcat 6. apache and tomcat are on different systems. followed the

[users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-22 Thread Kheng_Ee
This is Apache 2.4.3 trace/log talking to Tomcat 6 using reverse proxy (ajp_proxy) [Wed Jan 23 14:43:58.464172 2013] [proxy_ajp:trace5] [pid 3989] ajp_header.c(598): [client 57.250.242.249:24921] ajp_unmarshal_response: Header[0] [Set-Cookie] = [JSESSIONID=3404058BD1B5FB200B52FA6DA48 8B343;

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-22 Thread Igor Cicimov
On Wed, Jan 23, 2013 at 3:53 PM, Kheng_Ee kheng_ee_...@yahoo.com wrote: This is Apache 2.4.3 trace/log talking to Tomcat 6 using reverse proxy (ajp_proxy) [Wed Jan 23 14:43:58.464172 2013] [proxy_ajp:trace5] [pid 3989] ajp_header.c(598): [client 57.250.242.249:24921] ajp_unmarshal_response:

Re: [users@httpd] Apache 2.4.3: Reverse Proxy: Why jsessionid is embedded into URL path of first POST after brower's cookie is cleared

2013-01-22 Thread Kheng-Ee Sim
yes apache proxying to Tomcat 6 (backend server). those xx.jsp scripts are all in tomcat 6. apache and tomcat are on different systems. followed the ideas on documentation use proxypass and reverseproxypass and filter by location/locationmatch will post the apache config tomorrow. Sent from