problem regarding mod_rewrite

problem regarding mod_rewrite

am 17.03.2010 12:44:41 von Supratim Bandyopadhyaya

--000e0cd70744c835910481fda305
Content-Type: text/plain; charset=ISO-8859-1

Greetings to all,
I am trying to configure my apache server
to serve pages from an underlying jetty application server.

This jetty servers hosts two applications in following paths

http://localhost:7070/bw/

and

http://localhost:7070/feedbrn/

my configuration is like this



RewriteEngine On
RewriteRule ^/$ http://localhost:7070/bw/ [P,L]

RewriteRule ^/bw$ http://localhost:7070/bw/ [P,L]
RewriteRule ^/bw/admin/(.*) http://localhost:7070/bw/ [P,L]
RewriteRule ^/bw/feedbrn/(.*) http://localhost:7070/feedbrn/ [P,L]
RewriteRule ^/bw/alfrescoUser/(.*) http://localhost:7070/bw/ [P,L]
RewriteRule ^/bw/(.*) http://localhost:7070/bw/$1 [P,L]
ProxyPassReverse / http://localhost:7070/bw


This does not seem to detech the feedbrn part.
How can I fix this problem?
Thanks in advance.

--000e0cd70744c835910481fda305
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Greetings to all,
I am trying to configure my apache server
to serve=
pages from an underlying jetty application server.

This jetty serve=
rs hosts two applications in following paths

host:7070/bw/">http://localhost:7070/bw/


and

http://localhost:=
7070/feedbrn/


my configuration is like this



=A0=
       RewriteEngine On
      =A0 RewriteRule ^/=
$ [P,L]=



      =A0 RewriteRule ^/bw$ 0/bw/">http://localhost:7070/bw/ [P,L]
      =A0 Rewrite=
Rule ^/bw/admin/(.*)=A0 http://localh=
ost:7070/bw/
[P,L]
      =A0 RewriteRule ^/bw/feedbrn/(.=
*)=A0 http://localhost:7070/feed=
brn/
[P,L]

      =A0 RewriteRule ^/bw/alfrescoUser/(.*)=A0 ://localhost:7070/bw/">http://localhost:7070/bw/ [P,L]
    =
  =A0 RewriteRule ^/bw/(.*) htt=
p://localhost:7070/bw/$1
[P,L]

      =A0 ProxyPassReverse / w">http://localhost:7070/bw


This does not seem to detech the=
feedbrn part.
How can I fix this problem?
Thanks in advance.

=







--000e0cd70744c835910481fda305--

Re: problem regarding mod_rewrite

am 17.03.2010 13:17:22 von Eric Covener

On Wed, Mar 17, 2010 at 7:44 AM, Supratim Bandyopadhyaya
wrote:
> Greetings to all,
> I am trying to configure my apache server
> to serve pages from an underlying jetty application server.
>
> This jetty servers hosts two applications in following paths
>
> http://localhost:7070/bw/
>
> and
>
> http://localhost:7070/feedbrn/
>
> my configuration is like this
>
>
>
>       =A0 RewriteEngine On
>       =A0 RewriteRule ^/$ http://localhost:7070/bw/ [P,L]
>
>       =A0 RewriteRule ^/bw$ http://localhost:7070/bw/ [P,L]
>       =A0 RewriteRule ^/bw/admin/(.*)=A0 http://localhost:707=
0/bw/ [P,L]
>       =A0 RewriteRule ^/bw/feedbrn/(.*)=A0 http://localhost:7=
070/feedbrn/ [P,L]
>       =A0 RewriteRule ^/bw/alfrescoUser/(.*)=A0 http://localh=
ost:7070/bw/ [P,L]
>       =A0 RewriteRule ^/bw/(.*) http://localhost:7070/bw/$1 [=
P,L]
>       =A0 ProxyPassReverse / http://localhost:7070/bw
>
>
> This does not seem to detech the feedbrn part.

What URL are you testing?

> How can I fix this problem?

What happens? What do you expect to happen? What does the RewriteLog say?

--=20
Eric Covener
covener@gmail.com

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org