-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Hello NextCloud developers, I had this problem since the old times of ownCloud, and all the time when I need to update my ownCloud instance I need to apply this patch. It have the same behavior in NextCloud.
The problem is described here:
The main HTTP authentication examples in the PHP documentation don't work on our servers because we use php-cgi to serve your PHP sites.
The common workarounds for that problem involve setting a HTTP_AUTHENTICATION environment variable via mod_rewrite, but that doesn't work on our servers because our php-cgi environment runs on Apache with suExec, which does not pass environment variables to CGI scripts.
A developer created a patch to solve it. In past I submitted an issue and a pull request with this patch, but a developer talked the best way to fix it is creating an application to provide authentication using a specific method for this case.
Cheers;