Apache owncloud-auth-local.inc configuration example for CentOS Linux 7

Get the default configuration file owncloud-auth-local.inc 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-auth-local.inc.

For more configurations and setup guides, visit our related files section to further customize your system.

    # 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>

    
  

Config Details

Location
/etc/httpd/conf.d/owncloud-auth-local.inc
Operating system
CentOS Linux 7
Length
14 lines
MD5 checksum
07d575c145e3ae643ae30268b3be51e1

Usage

Download the raw file with wget or curl

Wget

wget -O owncloud-auth-local.inc.example https://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/owncloud-auth-local.inc

cURL

curl https://exampleconfig.com/static/raw/apache/centos7/etc/httpd/conf.d/owncloud-auth-local.inc > owncloud-auth-local.inc.example