Nextcloud Redirect

Here are a couple ways to redirect to

header("Location: nextcloud");

It just redirects the browser to the nextcloud folder,simple and easy.

Your nextcloud.conf vhost file, try this (within VirtualHost tags):

DocumentRoot /var/www/nextcloud

<Directory /var/www/nextcloud/>
    Options +FollowSymlinks
    AllowOverride All

    <IfModule mod_dav.c>
        Dav off

    SetEnv HOME /var/www/nextcloud
    SetEnv HTTP_HOME /var/www/nextcloud


Then restart apache

$ sudo service apache2 restart

Try getting to it via the

Leave a Reply