Home > Q&A > body text
Require: When users visit http://ask.mysite.com, they are redirected to the maintenance page. When accessing other URLs, such as http://bbs.mysite.com or http://mysite.com, it will display normally.
It is to determine the subdomain
高洛峰2017-05-16 17:06:00
RewriteCond %{HTTP_HOST} !^ask\.mysite\.com [NC]