----- Original Message -----
>
> Hi, guys,
>
>
> I want to rewrite from "tc.example.com/xyz" to "example.com/good/tc"

Essentially you want to do reverse proxying.

http://www.apachetutor.org/admin/reverseproxies

> I tried the following rewrite rule, but it doesnot work.
>
>
> RewriteCond %{HTTP_HOST} \.tc\.example\.com$
> RewriteRule ^/(.*) /good/$1 [NC,P,L]
>
>
> Any idea how to do it?
>
>
> Thanks.
> Dennis

--
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.ga...@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to