Re: url redirection

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

 



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


[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