










ServerAdmin demo@example.com
DocumentRoot /mnt/www/example
ServerName demo.example.com
ServerAlias demo.example.com *.demo.example.com
ErrorLog logs/demo-example-error_log
CustomLog logs/demo-example-access_log common
Options Indexes FollowSymLinks MultiViews ExecCGI
AllowOverride All
Require all granted
这是一个项目的域名配置,但是访问 login.demo.example.com 这样三级域名时,全部跳转到了 apche 根目录去了。同样的配置,在另外一个项目里, 只是修改了下二级域名,三级域名跳转都正常。
请教下,还有哪些需要配置?
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。