You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "c." <ch...@gmail.com> on 2007/06/06 00:10:39 UTC
Proxy and rewrite
Hello,
I'm having trouble Redirecting while using mod_proxy.
Previously I was sending all my traffic to tomcat with:
ProxyPass /order http://1.1.1.1:8080/order
and redirecting with:
Redirect 301 /cgi-bin/order.cgi http://pi.pizza73.com/order/pizza.html
This worked fine. Now however I'm forwarding everything through tomcat
with:
ProxyPass / http://1.1.1.1:8080/
and redirecting with:
Redirect 301 /order/pizza.html http://pi.pizza73.com/order.html
This does not work. What am I doing wrong in the second case?
Chris.