Skip to content

Conflict with Apache's default /icons alias #798

@gardenmachine

Description

@gardenmachine

Apache's default web server configuration includes an alias for the /icons directory that unfortunately conflicts with many web apps and themes. Example:

keeweb/keeweb#1315

The result is that, if a site is deployed to an Apache server with default config, files in an /icons folder are inaccessible without removing the default alias for /icons, which requires admin privileges. Hugo Book includes an /icons folder, and as I discovered when I just deployed my site, can suffer from this conflict. Not a great design decision on the part of Apache (probably made in the early '90s?) but we're left to deal with the consequences.

Image

Preferred solution: Avoid use of /icons folder, to reduce headaches for people deploying to root folders of Apache hosted sites.

For my own fix, I changed the path in the icon.html partial and changed the name of the assets/icons folder. Sorry I'm not versed enough in git to issue this as a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions