RewriteEngine on

# Redirecci贸n sin www a las carpetas correspondientes
# Para kantum.pe y www.kantum.pe
RewriteCond %{HTTP_HOST} ^(www\.)?kantum\.pe$ [NC]
RewriteCond %{REQUEST_URI} !^/kprincipal/
RewriteRule ^(.*)$ /kprincipal/$1 [L]

# Para lancetdigitex.com y www.lancetdigitex.com
RewriteCond %{HTTP_HOST} ^(www\.)?info-comercial.com\.com$ [NC]
RewriteCond %{REQUEST_URI} !^/lance11t/
RewriteRule ^(.*)$ /lancet1/$1 [L]

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