Presahered files does not work after upgrade to 11.0.1

Nextcloud version 11.0.1
Operating system and version : Centos 6.5
Apache or nginx version: Apache/2.2.15
PHP version :PHP 5.6.29
Is this the first time you’ve seen this error and can you replicate it?:
After performing the update of 10.0.2 to 11.0.1

The issue you are facing:
Preshared files do not work after upgrade to 11.0.1

As you can see in the new link is not index.php and causes the error
https://mywebsite.com/s/TI1II80PtrwclnK

The output from the webserver:

Not Found

The requested URL /s/TI1II80PtrwclnK was not found on this server.

If I put index.php in the link it works without problems and showme de file to download:

https://mywebsite.com/index.php/s/TI1II80PtrwclnK

How can I fix it if I have many shared files and do not want to change it manually?

Although in the config.php it was ‘htaccess.RewriteBase’ => '/'
could not disappear index.php

I then ran this command and it was updated and resolved:

sudo -u www-root php /var/www/html/nextcloud/occ maintenance:update:htaccess
.htaccess has been updated

link i found::slight_smile: Tanks

Prettylinks are enabled in two steps, you simply missed the second one :slight_smile: