/etc/httpd/conf.d/web-assets.conf - CentOS Linux 6

This is the default example configuration of web-assets.conf provided by Apache. This config file was generated by Apache running on CentOS 6.

It is located under: /etc/httpd/conf.d/web-assets.conf

    <Directory /usr/share/web-assets>
    Options -Indexes +FollowSymLinks
    <IfModule mod_authz_core.c>
        # Apache 2.4
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        # Apache 2.2
        Order deny,allow
        Allow from all
    </IfModule>
</Directory>

<Directory /usr/share/javascript>
    Options -Indexes +FollowSymLinks
    <IfModule mod_authz_core.c>
        # Apache 2.4
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        # Apache 2.2
        Order deny,allow
        Allow from all
    </IfModule>
</Directory>

<Directory /usr/share/fonts>
    Options -Indexes
    <IfModule mod_authz_core.c>
        # Apache 2.4
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        # Apache 2.2
        Order deny,allow
        Allow from all
    </IfModule>
</Directory>

# These aliases are not made available by default on Fedora < 21 and EPEL < 7.
# They will be available by default in Fedora >= 21 and EPEL >= 7.

#Alias /.sysassets/fonts /usr/share/fonts
#Alias /.sysassets/javascript /usr/share/javascript
#Alias /.sysassets/js /usr/share/javascript
#Alias /.sysassets /usr/share/web-assets
    
  

Config Details

Location
/etc/httpd/conf.d/web-assets.conf
Operating system
CentOS Linux 6
Length
46 lines
MD5 checksum
7264252023d2874fc9246854f3c42009

Usage

Download the raw file with wget or curl

Wget

wget -O web-assets.conf.example http://exampleconfig.com/static/raw/apache/centos6/etc/httpd/conf.d/web-assets.conf

cURL

curl http://exampleconfig.com/static/raw/apache/centos6/etc/httpd/conf.d/web-assets.conf > web-assets.conf.example