Add to Favourites Add to Favourites    Print this Article Print this Article

I'm trying to use an /icons folder with my website, but it's not working

If you're trying to use /icons with your website, this is reserved for Apache.
It's used for the icons/images, such as the folder icons with an Apache directory listing.

If possible, use a different path for your website.

If you cannot get around it, then edit:

/etc/httpd/conf/extra/httpd-autoindex.conf

to remove or rename the Alias:

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

This will break the apache icons, but most people won't even notice.

Was this answer helpful?

Also Read