RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]

php_value upload_max_filesize 128M
php_value post_max_size 128M
php_value max_execution_time 300
php_value max_input_time 300

RewriteRule ^signin					/?/login/index.php					[L]
RewriteRule ^privacy				/?/legal/terms.php					[L]
RewriteRule ^terms					/?/legal/terms.php					[L]
RewriteRule ^gc(.*)					/?/user/confirm.php+$1				[L]
RewriteRule ^pwr(.*)				/?/login/reset.php+$1				[L]
RewriteRule ^maintenance			/?/themes/sable/maintenance.php		[L]

ErrorDocument 400 /?400
ErrorDocument 401 /?401
ErrorDocument 403 /?403
ErrorDocument 404 /?404
ErrorDocument 500 /?500

RewriteRule ^netcash-accept			/?/netcash/accept.php				[L]
RewriteRule ^netcash-decline		/?/netcash/decline.php				[L]
RewriteRule ^netcash-notify			/?/netcash/notify.php				[L]
RewriteRule ^netcash-redirect		/?/netcash/redirect.php				[L]

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