From 7840065569de84a135711318d66e5bcf8827097e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 5 Jul 2015 07:54:26 +0200 Subject: owncloud: import 8.0.4 from rawhide --- owncloud-httpd.conf | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 owncloud-httpd.conf (limited to 'owncloud-httpd.conf') diff --git a/owncloud-httpd.conf b/owncloud-httpd.conf new file mode 100644 index 0000000..886ac2d --- /dev/null +++ b/owncloud-httpd.conf @@ -0,0 +1,49 @@ +# DO NOT EDIT THIS FILE DIRECTLY. To override any element of the +# packaged ownCloud configuration, create a new /etc/httpd/conf.d/ +# file which will be read later than 'owncloud.conf'. +# +# As the initial setup wizard is active upon installation, access is +# initially allowed only from localhost. *AFTER* configuring the +# installation correctly and creating the admin account, to allow +# access from any host, do this: +# +# ln -s /etc/httpd/conf.d/owncloud-access.conf.avail /etc/httpd/conf.d/z-owncloud-access.conf + +Alias /owncloud/apps-appstore /var/lib/owncloud/apps +Alias /owncloud/assets /var/lib/owncloud/assets +Alias /owncloud /usr/share/owncloud + +# Allows compliant CalDAV / CardDAV clients to be configured using only +# the domain name. For more details see # http://tools.ietf.org/html/rfc6764 + +Redirect 301 /.well-known/carddav /owncloud/remote.php/carddav +Redirect 301 /.well-known/caldav /owncloud/remote.php/caldav + + + Include conf.d/owncloud-auth-local.inc + Include conf.d/owncloud-defaults.inc + + Include conf.d/owncloud-auth-none.inc + + + + + Include conf.d/owncloud-auth-local.inc + Include conf.d/owncloud-defaults.inc + + + + Include conf.d/owncloud-auth-local.inc + Include conf.d/owncloud-defaults.inc + + +# For safety, explicitly deny any access to these locations. +# Upstream's .htaccess does something similar with mod_rewrite. + + + Include conf.d/owncloud-auth-none.inc + + + + Include conf.d/owncloud-auth-none.inc + -- cgit