diff options
Diffstat (limited to 'apache.example.conf')
-rw-r--r-- | apache.example.conf | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/apache.example.conf b/apache.example.conf index 84f452ac274c..35c521255f7a 100644 --- a/apache.example.conf +++ b/apache.example.conf @@ -1,15 +1,17 @@ -Alias /nextcloud "/usr/share/webapps/nextcloud" +fModule mod_alias.c> + Alias /nextcloud /usr/share/webapps/nextcloud/ +</IfModule> <Directory /usr/share/webapps/nextcloud/> - 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 - + Options FollowSymlinks + AllowOverride all + Require all granted </Directory> + +<VirtualHost *:80> + ServerAdmin foo@foofarm.com + DocumentRoot /usr/share/webapps/nextcloud + ServerName nextcloud.foo.com + ErrorLog /var/log/httpd/nextcloud.foo.info-error_log + CustomLog /var/log/httpd/nextcloud.foo.info-access_log common +</VirtualHost> |