Hi,
Anybody can tell me how to redirect
http://www.mydomain.com/abc To http://abc.mydomain.com:8080
I had used the following
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, Any link in it
is prefixed with http://www.mydomain.com/ which is wrong as it should be
http://www.mydomain.com/abc/
Can anyone tells me how to solve it.
Abd El-Hameed
|