Hi there,
Hope someone can point me into how to debug my current setup problems with
WebDAV, specifically the owncloud sync client.
Current setup
Debian 8.4
Clean Owncloud Install from Owncloud repo
Versions:
ii owncloud 9.0.0-2.1 all
ownCloud - Server
ii owncloud-apps 0~~20141022-1 all
third party applications for ownCloud
ii owncloud-deps-php5 9.0.0-2.1 all
ownCloud - dependencies for php5
ii owncloud-doc 0~20141208-2 all
documentation for ownCloud
ii owncloud-files 9.0.0-3.1 all
ownCloud - Server
Apache 2.4 (2.4.10-10+deb8u4)
PHP 5 (5.6.19+dfsg-0+deb8u1)
Using php5-fpm (5.6.19+dfsg-0+deb8u1)
I've used the guide here :
https://www.christianroessler.net/tech/2015/owncloud-on-debian-jessie-with-apache-2.4-and-php-fpm.html
I also with the updated .htaccess file from the github here:
https://github.com/owncloud/core/pull/22177
The client can't login to the server. The error I get:
"Access forbidden by server. To verify that you have proper access, click
here to access the service with your browser"
It works fine in the browser.
*From the apache log:*
10.0.2.2 - - [03/Apr/2016:08:37:30 +0100] "GET /status.php HTTP/1.1" 200
1144 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
10.0.2.2 - - [03/Apr/2016:08:37:31 +0100] "GET /remote.php/webdav/
HTTP/1.1" 401 1131 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
10.0.2.2 - - [03/Apr/2016:08:37:36 +0100] "PROPFIND /remote.php/webdav/
HTTP/1.1" 401 1130 "-" "Mozilla/5.0 (Macintosh) mirall/2.1.1"
*From Apache virtual host config:*
RewriteEngine on
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/owncloud/$1
SetEnvIf Authorization "(.+)" HTTP_AUTHORIZATION=$1
FileETag None
<IfModule mod_headers.c>
Header unset Pragma
Header unset ETag
Header append Cache-Control "public"
</IfModule>
<IfModule mod_expires.c>
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|css|js|svg)
quot;>
ExpiresActive On
ExpiresDefault "access plus 1 week"
</FilesMatch>
</IfModule>
<Directory "/var/www/owncloud">
Require all granted
AllowOverride All
Options +FollowSymLinks -Indexes +IncludesNoExec
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/owncloud
SetEnv HTTP_HOME /var/www/owncloud
</Directory>
<Directory "/var/www/owncloud/data/">
# just in case if .htaccess gets disabled
Require all denied
</Directory>
Any ideas how to get the client to pass the authentication to php-fpm?
Many thanks
Subhi
--
Subhi S Hashwa
When everything is heading your way, you're in the wrong lane.
Are you on LinkedIn ? Connect with me! http://linkedin.com/in/subhi
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user