FIX:
I fixed it by editing the .htaccess in the /var/www/owncloud directory
Just add
RewriteBase /owncloud
above
RewriteRule .* - [env=HTTP_AUTHORIZATION:%]
this fixed it for me
У меня следующая проблема:
После обновления моего OwnCloud с 8.2.2 до 9, возможно, произошел сбой моего Apache2 Config. Поэтому, когда я пытаюсь открыть myserver.com/owncloud, он говорит:
не обнаружена
Запрашиваемый URL /var/www/owncloud/index.php не найден на этом сервере.
Сервер Apache / 2.4.10 (Debian) на порту 80 myserver.com
это сбивает с толку, потому что в Apache confs-available / confs-enabled есть файл для owncloud:
Alias /owncloud "/var/www/owncloud/" <Directory /var/www/owncloud> Options +FollowSymLinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/owncloud SetEnv HTTP_HOME /var/www/owncloud </Directory>
у кого-нибудь есть решение?
FIX:
I fixed it by editing the .htaccess in the /var/www/owncloud directory
Just add
RewriteBase /owncloud
above
RewriteRule .* - [env=HTTP_AUTHORIZATION:%]
this fixed it for me
I confirm that this also happens on fresh installs of OwnCloud 9 on Ubuntu & Debian. Did not have time to troubleshoot this further this week but I suspect something wrong in the .htaccess file in the /var/www/owncloud dir.
Hopefully someone can pinpoint the issue and post it here.
The above fix worked for me. However my upgrade was still in maintenance mode from the upgrade that probably caused this. I had to go edit the config.php to turn off maintenance mode.
$ sudo nano /var/www/owncloud/config/config.php
I also then restarted apache2
$ sudo service apache2 restart
then I could finish the upgrade and all looks well now. Thanks again for the tip!