Hello
Actually I was able to define a rewrite rule in
apache:
RewriteRule ^/(.*web:jar.*) http://zeus:8086/src/$1
[R=301,L]
now
http://zeus/web:jar:0000001
redirects to
http://zeus:8086/src/web:jar:0000001
But if I tried to change the flag to P (proxy) in
httpd.conf
the apache error file gives:
[Thu Mar 27 17:18:58 2008] [error] [client
172.21.194.71] File does not exist:
/usr/local/apache2/htdocs/src, referer:
http://zeus/web:jar:0000001
the tomcat gives:
Your request is: http://zeus:8086/src/web:jar:0000001
Patj info is: web:jar:0000001
Session (1A578677550D1A75793540B152A8D6B6) has been
added to the list of valid Sessions
MY path info in treeview is: web:jar:0000001
I suspect I should something on tomcat to all this
operation. right?
I am using Solaris 10 - apache 2.2.4 and tomcat 6
--- ChrisS <[EMAIL PROTECTED]> wrote:
Melanie are you using FreeBSD or OpenBSD? I am going
back a bit but I
remember using Zeus on OpenBSD.
The way I set up clustering recently was through a
workers.properties file
which I stored in the apache/conf subdirectory. To
start with you have to
make sure all the prerequisites are in place. If you
are using a version of
Apache that supports it you need to DSO the mod_jk
module into this (if you
haven't done this already) with
"./configure
--with-apxs=/usr/local/apache/bin/apxs". This won't
work unless
you have mod_ssl installed !make sure the version
you have supports it!. For
example if you are using an APACI version, you may
face problems. If you do
have mod_ssl installed and are witnessing problems
note the error whilst
trying to launch Apache. I witnessed numerous errors
whilst trying to build
1.3.39, 1.3.4, 2.0.x 2.2.x this way.
----- Original Message -----
From: "Melanie Pfefer" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Thursday, March 27, 2008 12:31 PM
Subject: Re: RES: url redirection
> Hi,
>
> thanks for your reply. what I want is to redirect
>
> http://zeus:8085/web/sec:jar:0000001
>
> to
>
>
> http://zeus:8086/src/web:sec:jar:0000001
>
> The first one is on apache
> the 2nd one is on tomcat
>
> thanks again
> --- "Milanez, Marcus" <[EMAIL PROTECTED]>
> wrote:
>
>> Hi,
>>
>> I'm not completely sure about what you want, but
you
>> can redirect urls according to a given pattern
>> between tomcat instances using jakarta
connectors.
>> Is that what you want? You can have further info
>> here http://tomcat.apache.org/connectors-doc/
>>
>> Yours,
>>
>> Marcus
>>
>> -----Mensagem original-----
>> De: Melanie Pfefer
>> [mailto:[EMAIL PROTECTED]
>> Enviada em: quinta-feira, 27 de março de 2008
07:32
>> Para: users@tomcat.apache.org
>> Assunto: url redirection
>>
>> Hi,
>>
>> I have 2 web apps deployed on 2 tomcat servers.
How
>> to redirect urls that contains 'jar' string from
one
>> app to another?
>>
>> http://zeus:8085/web/sec:jar:0000001
>> to
>> http://zeus:8086/src/web:sec:jar:0000001
>>
>> thanks
>>
>>
>>
>>
>
__________________________________________________________
>> Sent from Yahoo! Mail.
>> More Ways to Keep in Touch.
>> http://uk.docs.yahoo.com/nowyoucan.html
>>
>>
>
---------------------------------------------------------------------
>> To start a new topic, e-mail:
>> users@tomcat.apache.org To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
>>
>
---------------------------------------------------------------------
>> To start a new topic, e-mail:
>> users@tomcat.apache.org
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
>
>
>
>
___________________________________________________________
> Yahoo! For Good helps you make a difference
>
> http://uk.promotions.yahoo.com/forgood/
>
>
---------------------------------------------------------------------
> To start a new topic, e-mail:
users@tomcat.apache.org
> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To start a new topic, e-mail:
users@tomcat.apache.org
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
__________________________________________________________
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]