#Init Reglas URL
Options +FollowSymLinks
Options -Indexes
RewriteEngine On

#RewriteCond %{HTTPS} off
#RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

#otra forma https
#RewriteCond %{HTTPS} !=on
#RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
#Header always set Content-Security-Policy "upgrade-insecure-requests;"

RewriteRule ^u/([^/]*)$ url-short.php?u=$1 [L]
#resultado dominio.com/u/ab12

#End Reglas URL

# php -- BEGIN cPanel-generated handler, do not edit
# Configure el paquete “ea-php74” como el lenguaje de programación predeterminado “PHP”.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74___lsphp .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit