Skip to content

php-fpm / config issue? "Access to the script has been denied" #16

@jmhunter

Description

@jmhunter

(Apologies if this is the wrong place for this - I'm new to github)

I have been trying to get the nextcloud docker image working, but have either misunderstood the instructions, or something isn't working.

I am running nextcloud as follows (I already have something else listening on port 9000)
# docker run --name nextcloud -d -p 8001:9000 indiehosters/nextcloud
and I am using Apache as a proxy to access it (Took me ages to figure out that I couldn't simply point a web browser at the HTTP port - I have never used php-fpm before) :

Listen 1.2.3.100:81
<VirtualHost 1.2.3.100:81>
        ProxyPassMatch "^/(.*)" "fcgi://127.0.0.1:8001/var/www/html/$1"
</VirtualHost>

This seems to work in that the php scripts themselves run fine, but none of the support files come through, they don't get passed to the browser.

[Mon Oct 10 00:44:07 2016] [error] [client 1.2.3.4] AH01071: Got error 'Access to the script '/var/www/html/core/vendor/backbone/backbone.js' has been denied (see security.limit_extensions)\n'
[Mon Oct 10 00:44:07 2016] [error] [client 1.2.3.4] AH01071: Got error 'Access to the script '/var/www/html/core/js/oc-backbone.js' has been denied (see security.limit_extensions)\n\xff\x7f'
[Mon Oct 10 00:44:07 2016] [error] [client 1.2.3.4] AH01071: Got error 'Access to the script '/var/www/html/core/js/placeholder.js' has been denied (see security.limit_extensions)\n\xff\x7f'
[....]

Am I missing something basic in the config somewhere, or am I misunderstanding how this is meant to fit together?

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