httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kheng_Ee <kheng_ee_...@yahoo.com>
Subject 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
Date Mon, 28 Jan 2013 04:44:58 GMT
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 example of rewrite statement ?

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>






________________________________
 From: Eric Covener <covener@gmail.com>
To: users@httpd.apache.org; Kheng_Ee <kheng_ee_sim@yahoo.com> 
Sent: Monday, 28 January 2013 1:20 PM
Subject: 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
 
On Sun, Jan 27, 2013 at 9:11 PM, Kheng_Ee <kheng_ee_sim@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 aboutUs and AboutUs ?
>
> As an example I gave you.....  I only have http://x.com and index.html...
> (but you come back with AboutUs.. so what is Aboutus ?)
>  RewriteRule ^\/http://x.com$ /index.html?DView=http://x.com [R,L,P]


The first parameter of RewriteRule is the request URL path you're
matching against.

"Edel" in this thread gave you one of his own examples that depended
on matching that URL.  It's probably not a very good example.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Mime
View raw message