Merge pull request #1803 from nextcloud/backport/1800/stable16

[stable16] Remove obsolete HOME and HTTP_HOME variables from Apache2 config
This commit is contained in:
Julius Härtl 2020-01-26 09:48:06 +01:00 committed by GitHub
commit 7a4500ac85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -434,15 +434,12 @@ it, replacing the **Directory** and other filepaths with your own filepaths::
<Directory /var/www/nextcloud/>
Require all granted
Options FollowSymlinks MultiViews
AllowOverride All
Options FollowSymLinks MultiViews
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud
<IfModule mod_dav.c>
Dav off
</IfModule>
</Directory>
@ -457,7 +454,7 @@ On CentOS/RHEL, create a virtualhost :file:`/etc/httpd/conf.d/nextcloud.conf` an
DocumentRoot /var/www/nextcloud/
ServerName your.server.com
<Directory "/var/www/nextcloud/">
<Directory /var/www/nextcloud/>
Require all granted
AllowOverride All
Options FollowSymLinks MultiViews