core icon indicating copy to clipboard operation
core copied to clipboard

Shared Subfolders redirect to index.php/

Open stephanarts opened this issue 13 years ago • 3 comments

Expected behaviour

Clicking on a folder inside /shared should show the contents of that folder

Actual behaviour

We are getting 302 Redirects to /index.php instead - This can not be reproduced for all users, just for the shares of one individual that used to work 2 hours ago.

Clicking on the 'download' button gives a page saying 'cloud not found'. - As if the folder is not shared at all.

Steps to reproduce

  1. Log in
  2. Click on Shared
  3. Click on banners (a shared folder)

Server configuration

Operating system: RHEL 6

Web server: Apache 2.2.15

Database: MySQL 5.5.x

PHP version: 5.3.3

ownCloud version: 5.0.9

Client configuration

Browser: Firefox

Operating system: Apple OS X Snow Leopard

Logs

Web server error log

[Tue Aug 06 08:49:13 2013] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Tue Aug 06 08:49:13 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 06 08:49:13 2013] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 06 08:49:13 2013] [notice] Digest: done
[Tue Aug 06 08:49:13 2013] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations
[Tue Aug 06 13:20:55 2013] [error] [client 193.190.191.242] File does not exist: /var/www/html/favicon.ico

Web server access log

131.176.105.6 - - [06/Aug/2013:14:10:27 +0200] "GET /index.php/apps/files?dir=/Shared/banners HTTP/1.1" 302 - "https://www.example.com/index.php/apps/files?dir=//Shared" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:22.0) Gecko/20100101 Firefox/22.0"

ownCloud log (data/owncloud.log)

<snip... more of the same>
{"app":"core","message":"Adding user backend instance of OCA\\user_ldap\\USER_LDAP.","level":0,"time":1375792048}
{"app":"core","message":"Adding user backend instance of OC_User_Database.","level":0,"time":1375792063}
{"app":"core","message":"Adding user backend instance of OCA\\user_ldap\\USER_LDAP.","level":0,"time":1375792063}

stephanarts avatar Aug 06 '13 12:08 stephanarts

Can you please try again with ownCloud 5.0.13 ? This might be an old bug that has been fixed already.

PVince81 avatar Nov 11 '13 11:11 PVince81

I will, I need some time to update the acceptance-environment.

stephanarts avatar Nov 28 '13 14:11 stephanarts

Since this bug is old I'm going to close it as sharing should already work correctly in the latest OC versions.

Feel free to reopen if you still meet the issue with OC 5.0.14 or OC 6.0.1 Thanks.

PVince81 avatar Jan 23 '14 20:01 PVince81