View Single Post
  #4   IP: 117.95.53.152
Old 2009-05-16, 11:32 AM
topvip topvip is offline
超级版主
 
Join Date: 2006-01-04
Posts: 1206
topvip 正向着好的方向发展
Default

If you have a Domain Alias that you'd like to point to a specific
directory of your orginal domain, and you'd like to maintain the domain
name of the Domain Alias in your URL, use the suggested mod_rewrite rule
in the technote posted above (dated 10/07/2002).

Replace line 4 of that rule with the following:

Code:
RewriteRule ^(.*)$  http://www.alias.com/subdir/$1 [R]
Reply With Quote