[prev in list] [next in list] [prev in thread] [next in thread]
List: owncloud
Subject: [owncloud-user] Problems with
From: Subhi S Hashwa <lists () subhi ! com>
Date: 2016-04-03 7:48:08
Message-ID: CAG+pt-AtqOjMQLwLqnhnFhCrMGkqs-NsTjZJXOXuvsd31zXyXQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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
[Attachment #5 (text/html)]
<div dir="ltr"><div>Hi there,<br><br>Hope someone can point me into how to debug my \
current setup problems with WebDAV, specifically the owncloud sync \
client.<br><br>Current setup<br><br>Debian 8.4<br>Clean Owncloud Install from \
Owncloud repo<br>Versions: <br>ii owncloud \
9.0.0-2.1 all ownCloud - \
Server<br>ii owncloud-apps 0~~20141022-1 \
all third party applications for ownCloud<br>ii owncloud-deps-php5 \
9.0.0-2.1 all ownCloud - \
dependencies for php5<br>ii owncloud-doc 0~20141208-2 \
all documentation for ownCloud<br>ii owncloud-files \
9.0.0-3.1 all ownCloud - \
Server<br><br>Apache 2.4 (2.4.10-10+deb8u4)<br>PHP 5 (5.6.19+dfsg-0+deb8u1)<br>Using \
php5-fpm (5.6.19+dfsg-0+deb8u1)<br><br>I've used the guide here : <a \
href="https://www.christianroessler.net/tech/2015/owncloud-on-debian-jessie-with-apach \
e-2.4-and-php-fpm.html">https://www.christianroessler.net/tech/2015/owncloud-on-debian-jessie-with-apache-2.4-and-php-fpm.html</a> \
<br><br>I also with the updated .htaccess file from the github here: <a \
href="https://github.com/owncloud/core/pull/22177">https://github.com/owncloud/core/pull/22177</a><br><br>The \
client can't login to the server. The error I get: <br>"Access forbidden by \
server. To verify that you have proper access, click here to access the service with \
your browser"<br><br>It works fine in the browser.<br><br><b>From the apache \
log:<br></b><br>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"<br>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"<br>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"<br><br><br><b>From Apache virtual \
host config:<br></b><br><br>RewriteEngine on<br>ProxyPassMatch ^/(.*\.php(/.*)?)$ \
fcgi://<a href="http://127.0.0.1:9000/var/www/owncloud/$1">127.0.0.1:9000/var/www/owncloud/$1</a><br>SetEnvIf \
Authorization "(.+)" HTTP_AUTHORIZATION=$1<br><br>FileETag None<br><br> \
<IfModule mod_headers.c><br><br> Header unset Pragma<br> \
Header unset ETag<br> Header append Cache-Control \
"public"<br><br> </IfModule><br><br> <IfModule \
mod_expires.c><br><br> <FilesMatch \
"\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4|css|js|svg)<span \
id="goog_1656260044"></span>quot;><br> ExpiresActive On<br> \
ExpiresDefault "access plus 1 week"<br> \
</FilesMatch><br><br> </IfModule><br><br><Directory \
"/var/www/owncloud"><br><br> Require all granted<br> \
AllowOverride All<br> Options +FollowSymLinks -Indexes \
+IncludesNoExec<br><br> <IfModule mod_dav.c><br> Dav off<br> \
</IfModule><br><br><br> SetEnv HOME /var/www/owncloud<br> SetEnv \
HTTP_HOME /var/www/owncloud<br><br></Directory><br><br><Directory \
"/var/www/owncloud/data/"><br> # just in case if .htaccess gets \
disabled<br> Require all denied<br></Directory><div><br></div><div><font \
color="#545454"><span style="line-height:18.2px"><div style="">Any ideas how to get \
the client to pass the authentication to php-fpm?</div><div style=""><br></div><div \
style="">Many thanks</div><div style=""><br></div><div style="">Subhi</div><div \
style=""><br></div></span></font></div><div><font color="#545454"><span \
style="line-height:18.2px"><br></span></font></div><div><br></div><div><br></div><div><br></div><div><br></div>-- \
<br><div>Subhi S Hashwa<br>When everything is heading your way, you're in the \
wrong lane.<br><br>Are you on LinkedIn ? Connect with me! <a \
href="http://linkedin.com/in/subhi" \
target="_blank">http://linkedin.com/in/subhi</a></div> </div></div>
_______________________________________________
User mailing list
User@owncloud.org
http://mailman.owncloud.org/mailman/listinfo/user
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic