mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Remove obsolete HOME and HTTP_HOME variables from Apache2 config
Additionally align format for Debian/Ubuntu and CentOS/RHEL configs: - Consistent spacing and order - No double quotes around directory path which does not contain spaces Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
@@ -119,15 +119,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>
|
||||
|
||||
@@ -142,7 +139,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
|
||||
|
||||
Reference in New Issue
Block a user