Re: [EMAIL PROTECTED] url redirection

2008-04-01 Thread Melanie Pfefer
Hello Josh, all, I am sorry to keep this thread up. My Objective is to have http://proxy/gqaf:soi:PAR:TRE:001 rewritten to http://backend:8080/gqaf-web/gqaf:soi:PAR:TRE:001 without changing the URL on the browser. *** RewriteEngine On RewriteRule ^/(.*gqaf:soi:PAR:TRE.*) http://backend:8

Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
I used this SetOutputFilter proxy-html ProxyHTMLURLMap /(.*)TRE(.*)$ http://backend:8080/gqaf-web/$1 and ProxyHTMLExtended On ProxyHTMLURLMap url\(http://proxy/(.*)TRE(.*)\) url(http://backend:8080/gqaf-web/$1) Rihe No luck :( --- Melanie Pfefer <[EMAIL PROTECTED]> wrote: > :) > > I am just

Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
:) I am just wondering how to define a wildcard in mod_proxy_html. In http://www.apachetutor.org/admin/reverseproxies, they give an example on /app1/ and that worked for me if want to redirect /gqaf-web/. Now I have wildcards: Everything that have :TRE: to be redirected to backend:/gqaf-web/ fol

Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Joshua Slive
On Mon, Mar 31, 2008 at 2:45 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hello Josh, > > Do you know if we can write this: > > > RewriteRule ^/(.*TRE.*) > http://backend:8080/gqaf-web/$1 [P,L] > > using ProxyPass directive? > > Actually, ProxyPass worked well when I used it > ProxyPass /g

Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
Hello Josh, Do you know if we can write this: RewriteRule ^/(.*TRE.*) http://backend:8080/gqaf-web/$1 [P,L] using ProxyPass directive? Actually, ProxyPass worked well when I used it ProxyPass /gqaf-web/ http://backend:8080/gqaf-web/ I need to do use it also such as: ProxyPass /(.*TRE.*) http:

Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Joshua Slive
On Mon, Mar 31, 2008 at 7:08 AM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hello! > After configuring proxy_html_module, I used ProxyPass > as per > http://www.apachetutor.org/admin/reverseproxies: > RewriteRule ^/(.*TRE.*) > http://backend:8080/gqaf-web/$1 [P,L] does not work > either bec

Re: [EMAIL PROTECTED] url redirection

2008-03-31 Thread Melanie Pfefer
Hello! After configuring proxy_html_module, I used ProxyPass as per http://www.apachetutor.org/admin/reverseproxies: ProxyPass /gqaf-web/ http://backend:8080/gqaf-web/ So that http://proxy/gqaf-web/gqaf:soi:PAR:TRE:001 redirects to http://backend:8080/gqaf-web/gqaf:soi:PAR:TRE:001 without

Re: [EMAIL PROTECTED] url redirection

2008-03-29 Thread Joshua Slive
On Sat, Mar 29, 2008 at 6:41 AM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hello again, > > I read the document and I did not get the correlation > with my case. > > you said > > > the case. You can check that simply by looking at > > the source code of > > the content sent back to your brow

Re: [EMAIL PROTECTED] url redirection

2008-03-29 Thread Melanie Pfefer
I also find out that I do not have mod_proxy_html loaded. But the situation remains the same even after loading the module... --- Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hello again, > > I read the document and I did not get the > correlation > with my case. > > you said > > the case. You c

Re: [EMAIL PROTECTED] url redirection

2008-03-29 Thread Melanie Pfefer
Hello again, I read the document and I did not get the correlation with my case. you said > the case. You can check that simply by looking at > the source code of > the content sent back to your browser and see if it > makes sense in the > context of the current URL. > All I can say is that if

Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Joshua Slive
On Fri, Mar 28, 2008 at 2:17 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hello Joshua, > > I suspect also that the backend server (a tomcat) is > not accepting this redirection. > Actually, the 2 rewrite rules follow the same basics > but in the first rewrite rule, the backend server is a >

Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Melanie Pfefer
Hello Joshua, I suspect also that the backend server (a tomcat) is not accepting this redirection. Actually, the 2 rewrite rules follow the same basics but in the first rewrite rule, the backend server is a java servlet. Do you think that additional configuration needs to be done on tomcat side n

Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Joshua Slive
On Fri, Mar 28, 2008 at 3:31 AM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hello, > > on testserver(IP address y.y.y.y), I enabled logging > to debug mode. > > httpd.conf has: > > RewriteEngine On > RewriteRule ^/(OpenFile.*) http://zeus:9000/$1 [P,L] > RewriteRule ^/(.*gqaf:soi:PAR:TRE.*)

Re: [EMAIL PROTECTED] url redirection

2008-03-28 Thread Melanie Pfefer
Hello, on testserver(IP address y.y.y.y), I enabled logging to debug mode. httpd.conf has: RewriteEngine On RewriteRule ^/(OpenFile.*) http://zeus:9000/$1 [P,L] RewriteRule ^/(.*gqaf:soi:PAR:TRE.*) http://zeus:8080/gqaf-web/$1 [P,L] RewriteLog "/usr/local/apache2/logs/rewrite.log" RewriteLogLeve

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Joshua Slive
On Thu, Mar 27, 2008 at 6:32 PM, Melanie Pfefer <[EMAIL PROTECTED]> wrote: > Hi > > httpd -M shows > proxy_module (shared) > proxy_connect_module (shared) > proxy_ftp_module (shared) > proxy_http_module (shared) > proxy_ajp_module (shared) > proxy_balancer_module (shared) > > > My rewr

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
se <[EMAIL PROTECTED]> wrote: > No. > > Make sure you are loading proxy and the proxy_http > mods. > > > > > - Original Message - > From: Melanie Pfefer [EMAIL PROTECTED] > Sent: 03/27/2008 05:40 PM > To: users@httpd.apache.org > Subject: Re:

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Peter J Milanese
No. Make sure you are loading proxy and the proxy_http mods. - Original Message - From: Melanie Pfefer [EMAIL PROTECTED] Sent: 03/27/2008 05:40 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] url redirection the proxy module should be loaded since [P] is working on

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
IL PROTECTED] > Sent: 03/27/2008 03:11 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] url redirection > > > > hello, > > changing to [P] flag: > RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 > [P] > > returns a page cannot be displ

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Peter J Milanese
Are you loading the proxy modules? - Original Message - From: Melanie Pfefer [EMAIL PROTECTED] Sent: 03/27/2008 03:11 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] url redirection hello, changing to [P] flag: RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 [P

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
hello, changing to [P] flag: RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 [P] returns a page cannot be displayed. This is when apache redirects to a tomcat. Why P flag does not work in this redirection? Could it be that tomcat needs additional configuration to accept Proxy? thanks --- M

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
things are ok now with this rewrite rule RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1 [R=301,L] I wanted to have 'jar' as pattern but couldn't do it. If someone can help, I appreciate. --- Melanie Pfefer <[EMAIL PROTECTED]> wrote: > I tried this > > RewriteEngine On > RewriteRule ^/(.*

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
I tried this RewriteEngine On RewriteRule ^/(.*jar.*) http://zeus:8086/src/$1 [R=301,L] However http://zeus/web:jar:001 becomes http://zeus:8086/src/web:jar:/web:jar:001 while I want it to be http://zeus:8086/src/web:jar:001 could you please advise? thanks --- Mathew <[EMAIL

Re: [EMAIL PROTECTED] url redirection

2008-03-27 Thread Mathew
The last time I had to configure something for tomcat I used proxy settings. I don't have access to this information right now otherwise I'd give an example of what I did but I'm sure you can find something on Google. Mathew Melanie Pfefer wrote: Hi, How to redirect urls that contains �jar�

[EMAIL PROTECTED] url redirection

2008-03-27 Thread Melanie Pfefer
Hi, How to redirect urls that contains ‘jar’ string from http://zeus:8085/web/sec:jar:001 to http://zeus:8086/src/web:sec:jar:001 the first one is on apache the 2nd web app is on tomcat thanks bunches __ Sent from Yahoo! M

Re: [EMAIL PROTECTED] URL redirection

2008-02-28 Thread Sean Allen
Dont do a R for redirect ( that tells the users browser to go to this new url ) Setup proxying and use the P flag in your rewrite. On Feb 28, 2008, at 3:36 AM, Melanie Pfefer wrote: Hello, a servlet is running on port 9000 while apache in running on port 80. The first request I received is

[EMAIL PROTECTED] URL redirection

2008-02-28 Thread Melanie Pfefer
Hello, a servlet is running on port 9000 while apache in running on port 80. The first request I received is to have http://server1/OpenObject?doc=ERW changed to http://server1:9000/OpenObject?doc=ERW I changed it using RewriteEngine On RewriteRule ^/(OpenObject.*) http://server1:9000/$1 [R=3

Re: [EMAIL PROTECTED] URL redirection

2007-12-20 Thread Severin Gehwolf
ups... > RewriteEngine On > RewriteRule ^/(OpenObject.*) http://server2:9000/$1 [P,L] > ProxyPassReverse / http://server1/ of course the ProxyPassReverse directive should look like ProxyPassReverse / http://server2:9000/ --- severin

Re: [EMAIL PROTECTED] URL redirection

2007-12-20 Thread Severin Gehwolf
Hi! > Could you please advise if this can be done in apache? > http://server1/OpenObject?doc=ERW > to be redirected to: > http://server2:9000/OpenObject?doc=ERW > I mean everything that starts with /OpenObject to be > redirected to server2:9000 with the same trailing > string /OpenObject?doc=ERW o

[EMAIL PROTECTED] URL redirection

2007-12-20 Thread Melanie Pfefer
Hello, Could you please advise if this can be done in apache? http://server1/OpenObject?doc=ERW to be redirected to: http://server2:9000/OpenObject?doc=ERW I mean everything that starts with /OpenObject to be redirected to server2:9000 with the same trailing string /OpenObject?doc=ERW or /OpenO

Re: [EMAIL PROTECTED] URL Redirection Question

2007-09-07 Thread Chris Arnold
>try with redirect (and VirtualHost if needed) > >ServerName our.domain.com:10080 >RedirectPermanent / http://another.machine.com:8080 > We are trying to do the samething with apache 2.2.3 on SLES10 SP1. I have config'ed a vhost.conf, like so: ServerAdmin [EMAIL PROTECTED] Server

Re: [EMAIL PROTECTED] URL Redirection Question

2007-09-07 Thread Bj
try with redirect (and VirtualHost if needed) ServerName our.domain.com:10080 RedirectPermanent / http://another.machine.com:8080 Or with Rewrite RewriteEngine On RewriteCond %{HTTP_HOST} our.domain.com [NC]* *RewriteRule /(.*) http://another.machine.com:8080/$1 [L,R=301] -- Bj On 9/6

[EMAIL PROTECTED] URL Redirection Question

2007-09-06 Thread Jim Bierlein
Hello, I have looked through the FAQ's and still cannot find the answer to what has to be a simple question. I want to setup our instance of Apache (Gentoo-based) to take all requests that come in on the URL http://our.domain.com:10080 and redirect it to http://another.machine.com:8080. I have l

Re: [EMAIL PROTECTED] URL redirection based on client's IP address

2006-07-01 Thread Joshua Slive
On 7/1/06, Stephane Nicoll <[EMAIL PROTECTED]> wrote: Hi, I am configuring two maven repositories on two sites using maven proxy[1]. The sites are in two different countries with a 1Mbps line between them so I need to make sure that requests are localized. So far I have the following setup on b

[EMAIL PROTECTED] URL redirection based on client's IP address

2006-07-01 Thread Stephane Nicoll
Hi, I am configuring two maven repositories on two sites using maven proxy[1]. The sites are in two different countries with a 1Mbps line between them so I need to make sure that requests are localized. So far I have the following setup on both sites - Apache2 (80) w/ Tomcat 5.5 (8080) - The f