From 97e762ec89be3f4cca3631e06ec64ffcb5efe975 Mon Sep 17 00:00:00 2001 From: 2br-2b <847785bd-d466-47cd-a536-eae4096d241d@anonaddy.me> Date: Sat, 16 Oct 2021 23:12:15 -0400 Subject: [PATCH] Update source_installation.rst Added steps to enable mod_env and mod_rewrite (for people like me who didn't realize how to do it without searching it). --- admin_manual/installation/source_installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/installation/source_installation.rst b/admin_manual/installation/source_installation.rst index 93d663ba4..b59ee9c5b 100644 --- a/admin_manual/installation/source_installation.rst +++ b/admin_manual/installation/source_installation.rst @@ -221,7 +221,7 @@ in sharing links like ``https://example.org/nextcloud/index.php/s/Sv1b7krAUqmF8Q making URLs shorter and thus prettier. ``mod_env`` and ``mod_rewrite`` must be installed on your webserver and the :file:`.htaccess` -must be writable by the HTTP user. Then you can set in the :file:`config.php` two variables:: +must be writable by the HTTP user. To enable ``mod_env`` and ``mod_rewrite``, run ``sudo a2enmod env`` and ``sudo a2enmod rewrite``. Then you can set in the :file:`config.php` two variables:: 'overwrite.cli.url' => 'https://example.org/nextcloud', 'htaccess.RewriteBase' => '/nextcloud',