RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
RewriteCond %{HTTP_HOST} ^lab\.rhc\.org\.pk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.lab\.rhc\.org\.pk$
RewriteRule ^/?$ "https\:\/\/lab\.rhc\.org\.pk\/auth\/login" [R=301,L]
RewriteCond %{HTTP_HOST} ^smc\.rhc\.org\.pk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.smc\.rhc\.org\.pk$
RewriteRule ^/?$ "https\:\/\/smc\.rhc\.org\.pk\/auth\/login" [R=301,L]

# 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 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
