On Thu, 29 Aug 2002, Abd El-Hamid Mohammed wrote:

> RewriteEngine on
> RewriteRule ^/abc(.*) http://abc.use-trade.com:8080$1 [P]
> ProxyPass /abc/   http://abc.use-trade.com:8080/
> ProxyPassReverse /abc/ http://abc.use-trade.com:8080/
>
> and it works great for redirecting http://www.mydomain.com/abc/
> but it fails with http://www.mydomain.com/abc "without the trailing slash"
> as the first page is the only page that displays correctly,

Because then it proxies http://www.mydomain.com/abc to
http://abc.use-trade.com:8080 - you need to add a rewrite rule in
the proxy for redirecting /abc to /abc/

  RewriteRule ^/abc /abc/ [R,L]


 - ask

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();

Reply via email to