
<FilesMatch "(admin\.php|edit\.php|options\.php|wp-login\.php|admin-ajax/.php|/.jpg|/.pdf|xmlrpc\.php)$" >

#2023 transition blocking from full ip, to file and ip to allow mailchimp


order deny,allow
deny from all

#allow from 198.46.89.184
#allow from 198.46.90.29

#MTNMAX ISP (Main Office 625)
#allow from 72.250.188.89

#Seth Schnebel
#allow from 65.131.197.128
#allow from 69.51.65.14  
#allow from 184.166.106.90
#allow from 184.166.54.234
#allow from 71.36.63.163 
allow from 208.123.202.215


#allow from 65.131.197.187
#allow from 174.22.4.151
#allow from 71.36.53.62
#allow from 99.126.153.212

#Jill Mislinski
#allow from 168.91.252.191
#allow from 65.114.90.19

#MailChimp Test
#allow from 205.201.128.0/20
#allow from 198.2.128.0/18
#allow from 148.105.0.0/16
#allow from 23.56.114.228

#iwp system
#allow from 162.253.32.46

# Silkypress
#allow from 80.108.110.128

#joe
#allow from 69.145.42.71
#allow from 74.124.214.159

#christina
#allow from 69.144.180.65

#Hawaii
#allow from 66.8.228.198

#Residence
#allow from 69.144.43.122

#Bailey's residence
#allow from 184.167.253.213

#server self
allow from 74.124.214.159
allow from 74.124.215.128


</FilesMatch>



RewriteEngine On
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /

#RewriteCond %{HTTP_HOST} ^ns2020-investech\.investech\.com$
#RewriteCond %{REQUEST_URI} !^/catch-all/
#RewriteRule ^(.*)$ /catch-all/index.html [L]


RewriteRule ^publications/?$ https://ns2020-investech.investech.com/investech-issues/ [R=301,NC,L]
RewriteRule ^publications/(.*)/?$ https://ns2020-investech.investech.com/investech-issues/$1/ [R=301,NC,L]

<IfModule mod_expires.c>
# Website does allow javascript file caching.
# Enable expirations
ExpiresActive On
# Javascript
ExpiresByType application/javascript "access plus 1 month"
</IfModule>




# 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 32M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 2M
   php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_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 32M
   php_value post_max_size 8M
   php_value session.gc_maxlifetime 1440
   php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
   php_value upload_max_filesize 2M
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit

# 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

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