Removal of the /var/www/icons alias from Apache config

crmpicco picture crmpicco · Aug 24, 2012 · Viewed 11.3k times · Source

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/"

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

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.

Answer

f_puras picture f_puras · Aug 24, 2012

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.