![]() |
|
|||||||
| 服务器环境搭建 Windows,Linux,IIS,Apache等服务器配置、安全维护以及PHP和MYSQL运行环境讨论。 |
|
|
Thread Tools | Display Modes |
|
#4
IP: 117.95.53.152
|
|||
|
|||
|
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] |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|