NextCloud and FileRun app (android) cannot connect to the server

mprivoro 4 years ago updated by Vlad R 4 years ago 3

tried both applications and cannot get access to the server.

nextcloud - "wrong user or passowrd" 

but them 100% correct (triple checked)

native FileRun app - the same, authorization failed.

nothing in logs on server.

Under review

I suppose you can't get access to your FileRun server. Does it work with our demo? (https://filerun.com/demo)

Yes, I was unable to access my installation on my server.

The problem is "lack" in Authorization apache configuration

My problem was fixed by adding the following:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

before this one:

ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://$1

so proxy_module in filerun virtual host config looks like this:

<IfModule proxy_module>
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://$1



Glad to hear you managed to solve the problem and thank you for sharing the solution.