# BEGIN LSCACHE
# END LSCACHE
# BEGIN NON_LSCACHE
# END NON_LSCACHE

# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
# BEGIN seraphinite-accelerator
# The directives (lines) between `BEGIN seraphinite-accelerator` and `END seraphinite-accelerator` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_mime.c>
	AddType image/avif .avif
	AddType image/webp .webp
	AddType application/font-woff2 .woff2
	AddType application/x-font-opentype .otf
</IfModule>
<IfModule mod_expires.c>
	ExpiresActive on
	ExpiresByType text/css                      "access plus 43200 minutes"
	ExpiresByType text/javascript               "access plus 43200 minutes"
	ExpiresByType application/javascript        "access plus 43200 minutes"
	ExpiresByType application/x-javascript      "access plus 43200 minutes"
	ExpiresByType font/eot                      "access plus 43200 minutes"
	ExpiresByType font/opentype                 "access plus 43200 minutes"
	ExpiresByType font/woff                     "access plus 43200 minutes"
	ExpiresByType application/vnd.ms-fontobject "access plus 43200 minutes"
	ExpiresByType application/font-woff         "access plus 43200 minutes"
	ExpiresByType application/font-woff2        "access plus 43200 minutes"
	ExpiresByType application/x-font-ttf        "access plus 43200 minutes"
	ExpiresByType application/x-font-woff       "access plus 43200 minutes"
	ExpiresByType image/vnd.microsoft.icon      "access plus 43200 minutes"
	ExpiresByType image/x-icon                  "access plus 43200 minutes"
	ExpiresByType image/bmp                     "access plus 43200 minutes"
	ExpiresByType image/gif                     "access plus 43200 minutes"
	ExpiresByType image/jpeg                    "access plus 43200 minutes"
	ExpiresByType image/png                     "access plus 43200 minutes"
	ExpiresByType image/svg+xml                 "access plus 43200 minutes"
	ExpiresByType image/avif                    "access plus 43200 minutes"
	ExpiresByType image/webp                    "access plus 43200 minutes"
	ExpiresByType audio/ogg                     "access plus 43200 minutes"
	ExpiresByType video/mp4                     "access plus 43200 minutes"
	ExpiresByType video/ogg                     "access plus 43200 minutes"
	ExpiresByType video/webm                    "access plus 43200 minutes"
</IfModule>
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{REQUEST_URI}?%{QUERY_STRING} \.(jpe|jpg|jpeg|png|gif|bmp|webp|avif)\?(|.*\&)seraph_accel_ai=([\w\-]+)\.([\w\-]+)(\&.*$|$) [NC]
	RewriteCond "/home/photob39/funsnaps.ca/wp-content/cache/seraphinite-accelerator/s/%3/ai/%4.%1" -f
	RewriteRule . /wp-content/cache/seraphinite-accelerator/s/%3/ai/%4.%1?%2%5 [L,QSD]
</IfModule>
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{THE_REQUEST} (?:\w+\s)?([^?]+\.(jpe|jpg|jpeg|png|gif|bmp|webp|avif))\?(|.*\&)seraph_accel_ai=([\w\-]+)\.([\w\-]+)(\&[^\s]*) [NC]
	RewriteCond "/home/photob39/funsnaps.ca/wp-content/cache/seraphinite-accelerator/s/%4/ai/%5.%2" !-f
	RewriteRule . /?seraph_accel_gi=%1&ai=%4.%5&intrnl=1&%3%6 [L,QSD,END]
</IfModule>
<IfModule mod_headers.c>
	<FilesMatch \.(jpe|jpg|jpeg|png|gif|bmp|webp|avif)$>
		Header merge Vary Accept
	</FilesMatch>
</IfModule>
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteCond %{HTTP_ACCEPT} image\/webp
	RewriteCond %{REQUEST_FILENAME} \.(jpe|jpg|jpeg|png|gif|bmp|webp|avif)$
	RewriteCond %{REQUEST_FILENAME}.webp -f
	RewriteRule ^(.*)\.(jpe|jpg|jpeg|png|gif|bmp|webp|avif)$ $1\.$2\.webp [QSA]
</IfModule>
<IfModule mod_headers.c>
	<FilesMatch \.(jpe|jpg|jpeg|png|gif|bmp|webp|avif)\.webp$>
		Header merge Vary Accept
	</FilesMatch>
</IfModule>
<IfModule mod_deflate.c>
	<IfModule mod_filter.c>
		AddOutputFilterByType DEFLATE text/plain text/css text/javascript application/javascript application/x-javascript application/json text/html text/xml application/atom+xml application/rss+xml application/xhtml+xml application/xml text/x-component application/vnd.ms-fontobject application/x-font-ttf font/eot font/opentype image/bmp image/svg+xml image/vnd.microsoft.icon image/x-icon
	</IfModule>
</IfModule>
<IfModule mod_headers.c>
	<IfModule mod_rewrite.c>
		RewriteEngine On
		RewriteCond %{HTTP:Accept-Encoding} (^|\W)gzip(\W|$)
		RewriteCond %{REQUEST_FILENAME} \.(css|js)$
		RewriteCond %{REQUEST_FILENAME}.gz -f
		RewriteRule ^(.*)\.(css|js)$ $1\.$2\.gz [QSA]
		RewriteRule \.css\.gz$ - [T=text/css,E=no-gzip:1,E=no-brotli:1]
		RewriteRule \.js\.gz$ - [T=application/javascript,E=no-gzip:1,E=no-brotli:1]
	</IfModule>
	<FilesMatch \.(js|css)\.gz$>
		Header set Content-Encoding gzip
		Header merge Vary Accept-Encoding
	</FilesMatch>
</IfModule>
# END seraphinite-accelerator

# 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 php8_module>
   php_flag display_errors Off
   php_value max_execution_time 600
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 2048M
   php_value post_max_size 2048M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php81"
   php_value upload_max_filesize 2048M
   php_flag zlib.output_compression Off
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 600
   php_value max_input_time 60
   php_value max_input_vars 1000
   php_value memory_limit 2048M
   php_value post_max_size 2048M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php81"
   php_value upload_max_filesize 2048M
   php_flag zlib.output_compression Off
</IfModule>
# END cPanel-generated php ini directives, do not edit


# Wordfence WAF
<Files "php.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
