哪儿来的<名录及GT;在Ubuntu 13.10 / Apache的2.4指令去了? [英] Where did the <Directory> directive go in Ubuntu 13.10 / Apache 2.4?

查看:225
本文介绍了哪儿来的<名录及GT;在Ubuntu 13.10 / Apache的2.4指令去了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

旧的虚拟主机文件的部分是这样的:

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 /阿帕奇2.4后,虚拟主机,直到您删除所有的&LT忽略;目录&GT; 配置。中这个去了?

推荐答案

截至目前(2014年3月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.

这篇关于哪儿来的&lt;名录及GT;在Ubuntu 13.10 / Apache的2.4指令去了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆