Skip to content

Serve videos with "Require all denied" in httpd.conf #72

@jepperandersen

Description

@jepperandersen

I am securing my piwigo installation by having a "Require all denied" directive in httpd.conf, such that galleries/ and upload/ cannot be browsed. Piwigo works marvellously serving normal photos of all resolution in this mode. However, when it comes to serving video files from the server, one is met with the error message "This video could not be loaded, either because the server or network failed, or because the format is not supported". The httpd-log says:

[authz_core:error] [pid 14304] [client 192.168.1.17:37676] AH01630: client denied by server configuration:

If I put a directive "Require all granted", then the video is served correctly.

My question is this: Since piwigo can server all the photos with the directive "Require all denied", is it possible to modify the piwigo-videojs such that also videos can be served in the "locked-down" mode?

Thanks,
Jeppe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions