0

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

mprivoro 10 months ago updated by Vlad R 10 months 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://127.0.0.1:9000/var/www/wiki/$1

so proxy_module in filerun virtual host config looks like this:

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

thanks

Michael.

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