Nextcloud version (eg, 20.0.5): 21.0.1
Operating system and version (eg, Ubuntu 20.04): Debian 10.8
Apache or nginx version (eg, Apache 2.4.25): 2.4.38
PHP version (eg, 7.4): 7.4
The issue you are facing:
I’ve installed Nextcloud in a different web directory called “https://www.myserver.com/newcloud”. Everything seems to work (webinterface, desktopclient, Android client) but the log is full of errors like:
Exception: The requested uri(/login) cannot be processed by the script '/newcloud/index.php')
/var/www/nextcloud/lib/base.php - line 937:
OC\AppFramework\Http\Request->getRawPathInfo()
/var/www/nextcloud/index.php - line 37:
OC::handleRequest()
or
Exception: The requested uri(/login) cannot be processed by the script '/newcloud/index.php')
/var/www/nextcloud/lib/base.php - line 937:
OC\AppFramework\Http\Request->getRawPathInfo()
/var/www/nextcloud/index.php - line 37:
OC::handleRequest()
From my “config.php”
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxx',
'datadirectory' => '/mnt/daten/newcloud',
'dbtype' => 'mysql',
'version' => '21.0.1.1',
'dbname' => 'newcloud',
'dbhost' => 'localhost',
'htaccess.RewriteBase' => '/newcloud',
Any ideas where I can look for the path to “newcloud”?