<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On 
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1 year"
</IfModule>

#<IfModule mod_deflate.c>
# <IfModule mod_setenvif.c>
# <IfModule mod_headers.c>
# SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
# RequestHeader append Accept-Encoding "gzip,deflate" env=HAVE_Accept-Encoding
# </IfModule>
# </IfModule>
# <IfModule filter_module>
# FilterDeclare COMPRESS
# FilterProvider COMPRESS DEFLATE resp=Content-Type $text/html
# FilterProvider COMPRESS DEFLATE resp=Content-Type $text/css
# FilterProvider COMPRESS DEFLATE resp=Content-Type $text/plain
# FilterProvider COMPRESS DEFLATE resp=Content-Type $text/xml
# FilterProvider COMPRESS DEFLATE resp=Content-Type $text/x-component
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/javascript
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/json
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/xml
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/xhtml+xml
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/rss+xml
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/atom+xml
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/vnd.ms-fontobject
# FilterProvider COMPRESS DEFLATE resp=Content-Type $image/svg+xml
# FilterProvider COMPRESS DEFLATE resp=Content-Type $image/x-icon
# FilterProvider COMPRESS DEFLATE resp=Content-Type $application/x-font-ttf
# FilterProvider COMPRESS DEFLATE resp=Content-Type $font/opentype
# FilterChain COMPRESS
# FilterProtocol COMPRESS DEFLATE change=yes;byteranges=no
# </IfModule>
# <IfModule !mod_filter.c>

#AddOutputFilterByType DEFLATE text/plain
#AddOutputFilterByType DEFLATE text/html
#AddOutputFilterByType DEFLATE text/xml
#AddOutputFilterByType DEFLATE text/css
#AddOutputFilterByType DEFLATE application/xml
#AddOutputFilterByType DEFLATE application/xhtml+xml
#AddOutputFilterByType DEFLATE application/rss+xml
#AddOutputFilterByType DEFLATE application/javascript
#AddOutputFilterByType DEFLATE application/x-javascript

# AddOutputFilterByType DEFLATE application/json

# AddOutputFilterByType DEFLATE text/xml application/xml text/x-component
# AddOutputFilterByType DEFLATE application/xhtml+xml application/rss+xml application/atom+xml
# AddOutputFilterByType DEFLATE image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype

# </IfModule>
#</IfModule>

RewriteEngine on 
AddDefaultCharset ON
AddDefaultCharset UTF-8

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule . /index.php [L]

RewriteEngine On 
RewriteCond %{HTTPS} off 
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

</IfModule>

# php -- BEGIN cPanel-generated handler, do not edit
# Defina o pacote “alt-php55” como a linguagem padrão de programação “PHP”.
<IfModule mime_module>
  AddHandler application/x-httpd-alt-php55___lsphp .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
