<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /canada-testing
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  </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 asp_tags On
     php_flag display_errors Off
     php_value max_execution_time 7200
     php_value max_input_time 7200
     php_value max_input_vars 3000
     php_value memory_limit 750M
     php_value post_max_size 750M
     php_value session.gc_maxlifetime 1440
     php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
     php_value upload_max_filesize 750M
     php_flag zlib.output_compression Off
  </IfModule>
  <IfModule lsapi_module>
  php_flag asp_tags On
     php_flag display_errors Off
     php_value max_execution_time 7200
     php_value max_input_time 7200
     php_value max_input_vars 3000
     php_value memory_limit 750M
     php_value post_max_size 750M
     php_value session.gc_maxlifetime 1440
     php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
     php_value upload_max_filesize 750M
     php_flag zlib.output_compression Off
  </IfModule>
  #<IfModule mime_module>
  #  AddHandler application/x-httpd-ea-php73___lsphp .php .php7 .phtml
  #</IfModule>
  # php -- END cPanel-generated handler, do not edit
  
  <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>
  
  <IfModule mod_gzip.c>
    mod_gzip_on Yes
    mod_gzip_dechunk Yes
    mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
    mod_gzip_item_include handler ^cgi-script$
    mod_gzip_item_include mime ^text/.*
    mod_gzip_item_include mime ^application/x-javascript.*
    mod_gzip_item_exclude mime ^image/.*
    mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
  </IfModule>
  <IfModule mod_headers.c>
    <FilesMatch "\.(ico|jpg|jpeg|png|gif|js|css|swf|svg|pdf|flv|mp3)$">
    Header set Cache-Control "public"
    </filesmatch>
    <filesmatch "\.(html|htm)$">
    Header set Cache-Control "max-age=7200, private, must-revalidate"
    </filesmatch>
    <filesMatch "\.(css)$">
      Header set Cache-Control "public"
    </filesMatch>
  <filesMatch "\.(x?html?|php)$">
      Header set Cache-Control "private, must-revalidate"
    </filesMatch>
    <filesmatch "\.(pdf)$">
    Header set Cache-Control "max-age=86400, public"
    </filesmatch>
    <filesmatch "\.(js)$">
    Header set Cache-Control "max-age=2678400, private"
    </filesmatch>
  </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/webm "access plus 1 year"
    ExpiresByType video/mp4 "access plus 1 year"
    ExpiresByType video/mpeg "access plus 1 year"
  
    # Fonts
    ExpiresByType font/ttf "access plus 1 year"
    ExpiresByType font/otf "access plus 1 year"
    ExpiresByType font/woff "access plus 1 year"
    ExpiresByType font/woff2 "access plus 1 year"
    ExpiresByType application/font-woff "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 image/vnd.microsoft.icon "access plus 1 year"
  </IfModule>
  
  # php -- BEGIN cPanel-generated handler, do not edit
  # Set the “ea-php74” package as the default “PHP” programming language.
  <IfModule mime_module>
    AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
  </IfModule>
  # php -- END cPanel-generated handler, 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 On
     php_flag display_errors Off
     php_value max_execution_time 7200
     php_value max_input_time 7200
     php_value max_input_vars 3000
     php_value memory_limit 750M
     php_value post_max_size 750M
     php_value session.gc_maxlifetime 1440
     php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
     php_value upload_max_filesize 750M
     php_flag zlib.output_compression Off
  </IfModule>
  <IfModule lsapi_module>
     php_flag display_errors On
     php_flag display_errors Off
     php_value max_execution_time 7200
     php_value max_input_time 7200
     php_value max_input_vars 3000
     php_value memory_limit 750M
     php_value post_max_size 750M
     php_value session.gc_maxlifetime 1440
     php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
     php_value upload_max_filesize 750M
     php_flag zlib.output_compression Off
  </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 300
     php_value max_input_time 60
     php_value max_input_vars 1000
     php_value memory_limit 750M
     php_value post_max_size 750M
     php_value session.gc_maxlifetime 1440
     php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
     php_value upload_max_filesize 750M
     php_flag zlib.output_compression Off
  </IfModule>
  <IfModule lsapi_module>
     php_flag display_errors Off
     php_value max_execution_time 7200
     php_value max_input_time 7200
     php_value max_input_vars 3000
     php_value memory_limit 750M
     php_value post_max_size 750M
     php_value session.gc_maxlifetime 1440
     php_value session.save_path "/var/cpanel/php/sessions/ea-php74"
     php_value upload_max_filesize 750M
     php_flag zlib.output_compression Off
  </IfModule>
  # END cPanel-generated php ini directives, do not edit
  