diff options
author | Muflone | 2020-05-17 00:56:39 +0200 |
---|---|---|
committer | Muflone | 2020-05-17 00:56:39 +0200 |
commit | cc0a5f60659182cc6d7a7e50d30020d2dbb4b7cb (patch) | |
tree | 8c4257a68c986283ab5b55f7c309a5cacba23977 /apache.example.conf | |
parent | 0a027e8d29f2c19598d73a1915add7bec75a9bca (diff) | |
download | aur-nextcloud-10.tar.gz |
Updated package nexcloud-10 10.0.6-1
Diffstat (limited to 'apache.example.conf')
-rw-r--r-- | apache.example.conf | 29 |
1 files changed, 19 insertions, 10 deletions
diff --git a/apache.example.conf b/apache.example.conf index 84f452ac274c..8033c907c018 100644 --- a/apache.example.conf +++ b/apache.example.conf @@ -1,15 +1,24 @@ -Alias /nextcloud "/usr/share/webapps/nextcloud" +<IfModule mod_alias.c> + Alias /nextcloud "/usr/share/webapps/nextcloud" +</IfModule> <Directory /usr/share/webapps/nextcloud/> - Options +FollowSymlinks - AllowOverride All - Require all granted + Options +FollowSymlinks + AllowOverride All + Require all granted - <IfModule mod_dav.c> - Dav off - </IfModule> - - SetEnv HOME /usr/share/webapps/nextcloud - SetEnv HTTP_HOME /usr/share/webapps/nextcloud + <IfModule mod_dav.c> + Dav off + </IfModule> + SetEnv HOME /usr/share/webapps/nextcloud + SetEnv HTTP_HOME /usr/share/webapps/nextcloud </Directory> + +<VirtualHost *:80> + ServerAdmin foo@foofarm.com + DocumentRoot /usr/share/webapps/nextcloud + ServerName nextcloud.example.com + ErrorLog /var/log/httpd/nextcloud.example.com-error_log + CustomLog /var/log/httpd/nextcloud.example.com-access_log common +</VirtualHost> |