----- 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.galic@xxxxxxxxxxxxxx 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx