HTTPS URL w/o index.php

Hey folks,

I tried to set up my Bitnami- OC to be accessible via HTTPS.
I got a certificate from letsencrypt and installed it.
I created a virtual host in /opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf:

<VirtualHost *:443>
        DocumentRoot /opt/bitnami/apps/owncloud/htdocs
        DirectoryIndex index.php index.html

                SSLEngine on
                SSLCertificateFile /etc/letsencrypt/live/
                SSLCertificateKeyFile /etc/letsencrypt/live/
                SSLCertificateChainFile /etc/letsencrypt/live/

        <Directory "/opt/bitnami/apps/owncloud/htdocs">
                 Options FollowSymLinks MultiViews
                 AllowOverride all
                 Order deny,allow
                Require all granted
                DirectoryIndex index.php index.html

The certificate and everything works.. At least I can browse to

But when I try to log in then I get the OC error "Access denied".

I noticed that when I successfully log in via HTTP then the URL is "**index.php**/apps/files".
But HTTPS redirects me to "" and shows me the "access denied" error.

When I add the "/index.php/" manually I actually get into the OC application but get a BUNCH of errors logged into the console:

Can somebody tell me What the heck is going on?

Server configuration
Operating system: Centos7 Linux
Web server: Apache

ownCloud version:9.0.2

Thank you guys!!indent preformatted text by 4 spaces


please update to the latest stable 9.0.4 first before reporting any issues in outdated versions.

If that doesn't solve this issue also have a look if you have a correctly configured index.php-less setup like described here:

1 Like