ErrorDocument 404 https://thenewminds.org
ErrorDocument 500 https://thenewminds.org
ErrorDocument 403 https://thenewminds.org
ErrorDocument 401 https://thenewminds.org
ErrorDocument 508 https://thenewminds.org
ErrorDocument 414 https://thenewminds.org
Options -Indexes
RewriteEngine On 
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://app.thenewminds.org/$1 [R,L]
<FilesMatch ".(phps|psd|log|sh)$">
Order Allow,Deny
Deny from all
</FilesMatch>