Get the default configuration file owncloud-access.conf.avail for Apache, optimized for CentOS Linux 7. This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/httpd/conf.d/owncloud-access.conf.avail.
For more configurations and setup guides, visit our related files section to further customize your system.
# 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 https://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/owncloud-access.conf.avail
curl https://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