从Apache配置中删除/ var / www / icons别名 [英] Removal of the /var/www/icons alias from Apache config

查看:157
本文介绍了从Apache配置中删除/ var / www / icons别名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Web服务器上有一个名为 / var / www / icons 的目录,在我的Apache配置中也称为别名,如下所示:

I have a directory called /var/www/icons on my web server, which is also referenced as an alias in my Apache config as seen below:

Alias /icons/ "/var/www/icons/"

该目录包含一些小的PNG和GIF,以及尚未使用的自述文件以及README文件。

The directory contains a number of small PNGs and GIFs, which AFAIK are unused, along with a README file.

我可以通过注释掉它来从我的Apache配置中删除该别名吗?如果没有,那么删除此应用程序的哪个区域可能会起作用?

Am I safe to remove this alias from my Apache config by commenting it out? If not, what area of my application is the removal of this likely to effect?

此目录上的文档很少,我必须承认我从未来过

There is very little documentation available on this directory and I must admit i've never came across it up until now.

推荐答案

大多数图标用于在目录列表中显示文件类型。如果您不使用此类列表,则可以安全地删除别名+文件。我是这样做的,不要错过他们。

Most icons are used for displaying file types in directory listings. If you do not use such listings, you can safely remove alias + files. I did so and do not miss them.

这篇关于从Apache配置中删除/ var / www / icons别名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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