<目录>在哪里?指令进入 Ubuntu 13.10/Apache 2.4? [英] Where did the <Directory> directive go in Ubuntu 13.10 / Apache 2.4?
本文介绍了<目录>在哪里?指令进入 Ubuntu 13.10/Apache 2.4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
部分旧的 vhost 文件如下所示:
Part of the old vhost files looked like this:
DocumentRoot "/var/www/myVhost"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/var/www/myVhost">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
升级到 Ubuntu 13.10/Apache 2.4 后,vhost 将被忽略,直到您删除所有
配置.这去哪儿了?
After upgrading to Ubuntu 13.10 / Apache 2.4, the vhost is ignored until you remove all the <Directory>
configuration. Where did this go?
推荐答案
截至目前(2014-03-25),我在完全更新的 Ubuntu 服务器上重新测试了相同的配置,并且不再忽略这些设置,只要因为默认目录选项也是为默认的 AKA 回退配置指定的.例如.000-default.conf
.
As of now (2014-03-25), I retested the same configuration on a fully updated Ubuntu server, and the settings are no longer ignored, as long as the default directory options are specified for the default AKA fallback configuration too. E.g. 000-default.conf
.
这篇关于<目录>在哪里?指令进入 Ubuntu 13.10/Apache 2.4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文