I have upgraded OwnCloud from version 9.0 for 9.1, but now I have “index.php” appearing on the URL. All files shared before the upgrade have URL like “http://cloud.mydomain.com.br/s/FHL6jCLquJzp7dj#pdfviewer ” and now they are “Not found”. If I add the “index.php” on the URL, like “http://cloud.companhiaduarte.com.br/index.php/s/FHL6jCLquJzp7dj#pdfviewer ” I can reach the file normally.
I have checked the .htaccess and confip.php files and “RewriteBase” rules looks like OK
.htaccess
config.php
‘htaccess.RewriteBase’ => ‘/’,
Hi,
have a look at the FAQ here:
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 insta…
giving some pointers. A request to document this within the oC docs is open since some time here:
https://github.com/owncloud/documentation/issues/2431
Contributions to that are welcome.
Hi RealRancor!
overwrite.cli.url is set properly… my OwnCloud is accessed by http://cloud.mydomain.com.br
and ‘htaccess.RewriteBase’ => ‘/’,
I already ran sudo -u apache php occ maintenance:update:htaccess with success
Then it should work and add the correct RewriteBase to your .htaccess file
Thanks… nothing is wrong with OwnCloud at all… my fault… I found the error on vhost conf file
Sorry
Hi @altairm could you tell me what did you do?
I’m facing the same problem.
Just read the last reply here:
Hi,
have a look at the FAQ here:
giving some pointers. A request to document this within the oC docs is open since some time here:
Contributions to that are welcome.
Feedback to the new documentation is also welcome:
https://github.com/owncloud/documentation/pull/2548
Hi @cleristononline … I’ve found that I did a mistake on the owncloud vhost file conf.
Check the Directory directive of AllowOverride … this was the cause of problem
Check below what I’m telling you and where I corrected my file
<Directory “/RIGHT_DIRECTORY_HERE/”>
Options +FollowSymLinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
Thank you very much @altairm for sharing.
I followed the same way you’ve done. It’s working now.
My server is a CentOS 7 with apache (default) and AllowOverride comes with none, I’ve changed to All and add the part about Dav off. NOW it’s working.
Thanks again.
HI @cleristononline . I’m happy for help you with my problem
1 Like
cleristononline:
AllowOverride
AllowOverride All
is a general requirement that the .htaccess file shipped with ownCloud is working / used.
hilfans
January 20, 2020, 11:11am
14
it didn’t work for me, i’m still get index.php on public share dokumen URL, example https://boxs.telkomuniversity.ac.id/index.php/s/UCcJy3dxkv2GnSq
This is the default behavior on a current standard installation. I don’t think it is very productive to restart this 3 year old thread about a no longer relevant ownCloud version.
1 Like