Nextcloud 27.1.2 Update - /etc/webapps/nextcloud/.htaccess.pacnew - triggers new Admin Overview Warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



All,

The new update for Nextcloud 27.1.2 causes a new Admin Warning when the new .htaccess files is incorporated. After the update and after 'occ maintenance:update:htaccess' the following warning is triggered in the Administrative Settings Overview check that runs:

There are some warnings regarding your setup.

Your web server is not properly set up to resolve "/nextcloud/ocm-provider/". This is most likely related to a web server configuration that was not updated to deliver this folder directly. Please compare your configuration against the shipped rewrite rules in ".htaccess" for Apache or the provided one in the documentation for Nginx at it's documentation page ↗. On Nginx those are typically the lines starting with "location ~" that need an update.

  The problem seems to surround the line:

  RewriteRule ^ocm-provider/?$ /index.php [QSA,L]

which is present in the .htaccess.pacnew, but not present in the original .htaccess. Restoring the original .htaccess fixes the issue immediately resulting in "All checks passed"

Since the line "RewriteRule ^ocm-provider/?$ /index.php [QSA,L]" is above the comment stating:

#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

  Is this an issue with the update package that needs to be fixed?

I generally try to incorporate all .pacnew configs (at least go through them and migrate any changes). There are a number of changes in the new .htaccess.pacnew file above the comment line, so that leaves me questioning whether my current .htaccess is optimal even though the overview checks show "All checks passed".

--
David C. Rankin, J.D.,P.E.



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux