AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
#Order allow,deny
#Allow from all
Require all granted
# Custom timeouts. These appear to be ignored by a lot of browsers.
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType text/css A43200
# Hide git directories.
# https://serverfault.com/a/527911
RedirectMatch 404 /\.git
Require all granted
Require all granted
Require all granted
Listen 443
DocumentRoot /ti/www.trade-ideas.com
ServerName www.trade-ideas.com
AddType application/x-httpd-php .html
Alias /cms_static /ti/cms_static
Alias /guide /ti/guide
Alias /hollyguide /ti/hollyguide
CustomLog "|/usr/sbin/rotatelogs -l /var/log/httpd/access.www.%Y%m%d.log 86400" common
ErrorLog "|/usr/sbin/rotatelogs -l /var/log/httpd/error.www.%Y%m%d.log 86400"
SSLEngine on
SSLCertificateChainFile /etc/pki/tls/certs/intermediate.wildcard.crt
SSLCertificateFile /etc/pki/tls/private/wildcard.trade-ideas.com.pem