域的 Apache ServerAlias 通配符(例如 subdomain.*.com)

Yes*_*rry 6 serveralias apache-2.2

我知道可以对子域别名使用通配符,例如:

ServerAlias *.domain.com
Run Code Online (Sandbox Code Playgroud)

但是,它可能使用的具有相同的域名?

# like this
ServerAlias subdomain.*.com
Run Code Online (Sandbox Code Playgroud)

Sha*_*den 8

是的,这应该有效 - 通配符的规则ServerAlias不需要担心 DNS 通配符遵循的规则。