问题描述
我刚刚升级我的服务器,看到在 default.conf
文件站点可用现在正指着的/ var / www / html等
,而不是 /无功/网络
。什么是这一变化的原因是什么?
I just upgraded my server and saw that the default.conf
file in sites-available was now pointing to /var/www/html
instead of /var/www
. What was the reason for this change?
推荐答案
我发现bug报告:<一href=\"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730372\">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730372
该报告是在此邮件列表讨论提交:https://lists.debian.org/debian-devel/2012/04/msg00301.html
The report was filed after this mailing list discussion: https://lists.debian.org/debian-devel/2012/04/msg00301.html
摘要:网站管理员通常放在 /var/www/site.com
网站和有可能在<$ C $敏感数据C> /无功/网络不应该通过Web服务器提供。在Debian所有的web服务器已经更新为使用的/ var / www / html等
为默认值,而不是 /无功/网络
Summary: Site admins usually place sites in /var/www/site.com
and there may be sensitive data in /var/www
that should not be made available via a web server. All web servers on Debian have been updated to use /var/www/html
as default instead of /var/www
.
这篇关于为什么apache2的WWW目录被移动到/ var / www / html等?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!