年年我发



返回   年年我发 > 网站建设 > 服务器环境搭建
用户名
密码
 
注册账号 论坛帮助 会员列表 日历事件网赚工具 标记版面已读

服务器环境搭建 Windows,Linux,IIS,Apache等服务器配置、安全维护以及PHP和MYSQL运行环境讨论。

回复
 
主题工具 搜索本主题 显示模式
  #1   IP: 218.2.66.162
旧 2007-08-18, 09:06 AM
yahoo yahoo 当前离线
普通会员
 
注册日期: 2006-04-05
帖子: 89
精华: 0
现金: -322 元
资产: -322 元
声望: 10 yahoo 正向着好的方向发展
默认 Point parked domain to subdirectory

I bought another domain name for a site and I want it to go directly to a subdirectory.

For example, if:
mainurl.com goes to mainurl.com
i want newurl.com to go to mainurl.com/new/
回复时引用此帖

wellcome to www.0058.net
  #2   IP: 218.2.66.162
旧 2007-08-18, 09:06 AM
yahoo yahoo 当前离线
普通会员
 
注册日期: 2006-04-05
帖子: 89
精华: 0
现金: -322 元
资产: -322 元
声望: 10 yahoo 正向着好的方向发展
默认

引用:
RewriteCond %{HTTP_HOST} www\.yournewdomain\.com
RewriteRule (.*) http://www.yourolddomain.com/subdir [R=301,L]

that should work =)

rewrite rules are good for this type of stuff
回复时引用此帖
回复


当前查看此主题的会员: 1 (0 位会员和 1 位游客)
 
主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

论坛启用 BB 代码
论坛禁用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码
论坛跳转

相似的主题
主题 主题作者 版面 回复 最后发表
mapping multiple domains into the filespace of a single domain smiling 建站交流 0 2007-08-18 01:25 AM
How many domain you own to display adsense? sunshine Google Adsense 0 2006-12-11 09:07 AM


所有时间均为北京时间. 现在的时间是 02:35 AM, Free Patent & Patent Ideas


Powered by vBulletin 3.5.2 Chinese Exhibition Happy New Year
©2000 - 2008,Jelsoft Enterprises Ltd  Desiccant Molecular Sieve Weight Loss Bentonite Trade Manager