<IfModule mod_fcgid.c>
	AddHandler fcgid-script .php
	FcgidWrapper /home/zhelev/public_html/kasov-aparat.bg/php.fcgi .php
</IfModule>
<IfModule mod_expires.c>
  ExpiresActive On
  # Images
  ExpiresByType image/jpeg "access plus 1 year"
  ExpiresByType image/gif "access plus 1 year"
  ExpiresByType image/png "access plus 1 year"
  ExpiresByType image/webp "access plus 1 year"
  ExpiresByType image/svg+xml "access plus 1 year"
  ExpiresByType image/x-icon "access plus 1 year"
  # Video
  ExpiresByType video/mp4 "access plus 1 year"
  ExpiresByType video/mpeg "access plus 1 year"
  # CSS, JavaScript
  ExpiresByType text/css "access plus 1 month"
  ExpiresByType text/javascript "access plus 1 month"
  ExpiresByType application/javascript "access plus 1 month"
  # Others
  ExpiresByType application/pdf "access plus 1 month"
  ExpiresByType application/x-shockwave-flash "access plus 1 month"
</IfModule>
<IfModule mod_deflate.c>
  # Compress HTML, CSS, JavaScript, Text, XML and fonts
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/xml
  # Remove browser bugs (only needed for really old browsers)
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
  Header append Vary User-Agent
</IfModule>

# Wordfence WAF
<Files ".user.ini">
<IfModule mod_authz_core.c>
	Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
	Order deny,allow
	Deny from all
</IfModule>
</Files>
# END Wordfence WAF
# # BEGIN cPanel-generated php ini directives, do not edit
# # Manual editing of this file may result in unexpected behavior.
# # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
# <IfModule php7_module>
#   php_flag display_errors Off
#   php_value max_execution_time 30
#   php_value max_input_time 60
#   php_value max_input_vars 1000
#   php_value memory_limit 512M
#   php_value post_max_size 128M
#   php_value session.gc_maxlifetime 1440
#   php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
#   php_value upload_max_filesize 128M
#   php_flag zlib.output_compression On
# </IfModule>
# # END cPanel-generated php ini directives, do not edit
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 30
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 512M
   php_value post_max_size 128M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php71"
   php_value upload_max_filesize 128M
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit
#order deny,allow
deny from all
Allow from 5.104.182.61
Allow from 188.166.27.81
Allow from 84.43.131.75
Allow from 80.72.69.78
Allow from 80.72.68.68
Allow from 77.71.109.178
Allow from 80.72.68.245
Allow from 78.83.29.136
Allow from 82.147.145.117
Allow from 93.57.12.58
Allow from 149.62.202.237
Allow from 78.83.21.7
Allow from 149.62.203.228
Allow from 37.143.221.191
#Allow from 5.104.182.61
Allow from 212.39.89.65
Allow from 31.13.216.128
Allow from 31.13.216.129
Allow from 31.13.216.130
Allow from 31.13.216.131
Allow from 31.13.216.132
Allow from 31.13.216.133
Allow from 31.13.216.134
Allow from 31.13.216.135
Allow from 31.13.216.136
Allow from 31.13.216.137
Allow from 31.13.216.138
Allow from 31.13.216.139
Allow from 31.13.216.140
Allow from 31.13.216.141
Allow from 31.13.216.142
Allow from 212.39.89.197
Allow from 90.154.210.6
Allow from 213.145.108.140

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
