Alias /nextcloud "/var/www/html/nextcloud/" Options +FollowSymLinks AllowOverride All Dav off SetEnv HOME /var/www/html/nextcloud SetEnv HTTP_HOME /var/www/html/nextcloud # just in case if .htaccess gets disabled Require all denied