The requested uri(\\/login) cannot be processed by the script '\\/owncloud\\/index.php'


#1

Problem

When opening your oC instance / logging in you’re getting a white page / internal server error. Additionally the following is shown in your data/owncloud.log:

The requested uri(\\/login) cannot be processed by the script '\\/owncloud\\/index.php'

Description

This issue is caused because you have configured the following two options in your config/config.php wrong.

See the following solution how to configure those correctly

Solution

Example 1:

If you’re accessing your oC instance via http://example.com set the following:

'overwrite.cli.url' => 'http://example.com',
'htaccess.RewriteBase' => '/',

Example 2:

If you’re accessing your oC instance via http://example.com/owncloud set the following:

'overwrite.cli.url' => 'http://example.com/owncloud',
'htaccess.RewriteBase' => '/owncloud',

Afterwards run the following command on your command line:

occ maintenance:update:htaccess

(See also https://doc.owncloud.org/server/9.1/admin_manual/configuration_server/occ_command.html#run-occ-as-your-http-user)


Remove index.php from the URL
Internal Server Error
Removing index.php from share links
Cloud.domain.com
Internal server error when user logs in
Internal server Error not reslove
OwnCloud Error?
Accessing oC from two (/several) distinct directories
#2

"Internal server error" after update