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