Skip to content

FilesMatch issue detecting extensions #29

@myrandor

Description

@myrandor

Using this htaccess, any images with png extensions are denied, which shouldn't happen.

<FilesMatch "\.(png)$">
    <IfModule version.c>
        <IfVersion >= 2.4>
            Require all granted
        </IfVersion>
        <IfVersion < 2.4>
            Allow from all
        </IfVersion>
    </IfModule>
</FilesMatch>
<FilesMatch "\.*$">
    <IfModule version.c>
        <IfVersion >= 2.4>
            Require all denied
        </IfVersion>
        <IfVersion < 2.4>
            Deny from all
        </IfVersion>
    </IfModule>
</FilesMatch>

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