Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions admin_manual/installation/source_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,18 @@ if your setup is available on ``https://example.org/nextcloud`` or::
'overwrite.cli.url' => 'https://example.org/',
'htaccess.RewriteBase' => '/',

if it isn't installed in a subfolder. Finally run this occ-command to update
your .htaccess file::
if it isn't installed in a subfolder.

.. note::

``htaccess.RewriteBase`` must match the path relative to Apache's DocumentRoot
where Nextcloud is served on the backend, not the public URL prefix. In a direct
Apache setup these are identical. Behind a reverse proxy that strips the URL
prefix — for example ``https://domain.com/nextcloud/`` forwarded to
``http://localhost:8080/`` — the correct value is ``/`` even though the public
URL contains ``/nextcloud``.

Finally run this occ-command to update your ``.htaccess`` file::

sudo -E -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess

Expand Down
Loading