Re: url redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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://backend:8080/gqaf-web/

The wildcards seems not accepted in ProxyPass.

Thanks in advance for your support

--- Joshua Slive <joshua@xxxxxxxx> wrote:

> On Mon, Mar 31, 2008 at 7:08 AM, Melanie Pfefer
> <melanie_pfefer@xxxxxxxxxxx> 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 because the browser searches for the files
> in
> >  the proxy htdocs instead of the backend webapps
> so it
> >  displays File not Found
> 
> This is where you need to properly configure
> mod_proxy_html as per the
> section "Fixing HTML Links" in the above referenced
> document. I'm not
> a mod_proxy_html expert, so I can't give you the
> details off the top
> of my head. But if you are worried about using
> RewriteRule instead of
> ProxyPass, I don't believe that is a problem. All
> the other directives
> should work the same.
> 
> Joshua.
> 
>
---------------------------------------------------------------------
> The official User-To-User support forum of the
> Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> To unsubscribe, e-mail:
> users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> 
> 



      ___________________________________________________________ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/

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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux