This is the default example configuration of owncloud-auth-local.inc provided by Apache. This config file was generated by Apache running on CentOS 7.
It is located under: /etc/httpd/conf.d/owncloud-auth-local.inc
# Apache config snippet. To be used by /etc/httpd/conf.d/*.conf files # with Include. Allows access only from local system. <IfModule mod_authz_core.c> # Apache 2.4 Require local </IfModule> <IfModule !mod_authz_core.c> # Apache 2.2 Order Deny,Allow Deny from all Allow from 127.0.0.1 Allow from ::1 </IfModule>
Download the raw file with wget or curl
wget -O owncloud-auth-local.inc.example http://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/owncloud-auth-local.inc
curl http://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/owncloud-auth-local.inc > owncloud-auth-local.inc.example
Other config files you might find useful