Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
Apache
htaccess 如何实现非主页以外的页面执行 301 跳转
0x1e240
·
Jan 9, 2015
· 3221 views
This topic created in 4127 days ago, the information mentioned may be changed or developed.
假如有 a.com 和 b.com 两个域名
要求
1. 访问 a.com 或者
www.a.com
不跳转
2. 访问 a.com/* 或者
www.a.com/*
自动跳转到 b.com/* (*号为通配符)
这东西能实现吗?
a.com
通配符
www.a.com
1 replies
•
2015-01-10 00:51:33 +08:00
1
MinonHeart
Jan 10, 2015
1
https://gist.github.com/MinonHeart/289224394a3744fd659e
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1121 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 99ms ·
UTC 23:02
·
PVG 07:02
·
LAX 16:02
·
JFK 19:02
♥ Do have faith in what you're doing.
❯