Re: url redirection

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

 



:)

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/ followed by that
string xxx:TRE:xxx

I will read the mod_proxy_html doc...

thx




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

> On Mon, Mar 31, 2008 at 2:45 PM, Melanie Pfefer
> <melanie_pfefer@xxxxxxxxxxx> 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 /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
> 
> You don't need to use ProxyPass. You can combine
> RewriteRule with the
> approprite mod_proxy_html directives.
> 
> Honestly, I feel like I'm talking around in circles
> with you. I
> thought you already understood that your problem is
> caused by changing
> the path from proxy to origin server and has nothing
> to do with
> RewriteRule versus ProxyPass.
> 
> 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