RewriteEngine on
#RewriteCond %{HTTPS} off
#RewriteCond %{HTTP_HOST} ^hr\.innovations\.co\.ke$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.hr\.innovations\.co\.ke$
#RewriteRule ^clarkson$ "https\:\/\/hr\.innovations\.co\.ke\/" [R=301,L]

RewriteCond %{SERVER_PORT} 80
# This checks to make sure the connection is not already HTTPS – port 80 indicates a non-secured HTTP conection.

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$
RewriteRule ^(.*)$ https://med.myne.co.ke/$1 [R=301,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
