This is the default example configuration of owncloud-access.conf.avail provided by Apache. This config file was generated by Apache running on CentOS 7.
It is located under: /etc/httpd/conf.d/owncloud-access.conf.avail
# If symlinked or copied to /etc/httpd/conf.d/z-owncloud-access.conf # (or any other name that is alphabetically later than # 'owncloud.conf'), this file will permit access to the ownCloud # installation from any client. Ensure your deployment is correctly # configured and secured before doing this! # # If you SYMLINK this file, you can rely on the ownCloud package to # handle any future changes in the directory or URL hierarchy; this # file will always achieve the high-level goal 'allow access to the # ownCloud installation from any client'. If you COPY this file, you # will have to check for changes to the original in future ownCloud # package updates, and make any appropriate adjustments to your copy. <Directory /usr/share/owncloud/> Include conf.d/owncloud-auth-any.inc </Directory> <Directory /var/lib/owncloud/apps/> Include conf.d/owncloud-auth-any.inc </Directory> <Directory /var/lib/owncloud/assets/> Include conf.d/owncloud-auth-any.inc </Directory>
Download the raw file with wget or curl
wget -O owncloud-access.conf.avail.example http://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/owncloud-access.conf.avail
curl http://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/owncloud-access.conf.avail > owncloud-access.conf.avail.example
Other config files you might find useful