I used this SetOutputFilter proxy-html ProxyHTMLURLMap /(.*)TRE(.*)$ http://backend:8080/gqaf-web/$1 and ProxyHTMLExtended On ProxyHTMLURLMap url\(http://proxy/(.*)TRE(.*)\) url(http://backend:8080/gqaf-web/$1) Rihe No luck :( --- Melanie Pfefer <melanie_pfefer@xxxxxxxxxxx> wrote: > :) > > 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 > > ___________________________________________________________ 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