mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
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).
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user