httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] url redirection
Date Mon, 31 Mar 2008 18:49:26 GMT
On Mon, Mar 31, 2008 at 2:45 PM, Melanie Pfefer
<melanie_pfefer@yahoo.co.uk> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message