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
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
:)
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
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
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:
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
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
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
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
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
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
>
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
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.*)
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
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
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:
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
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
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
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
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 ^/(.*
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
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�
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
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
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
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
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
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
>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
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
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
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
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
34 matches
Mail list logo