Para forzar desde un .htaccess para que todos los request http:// redireccionen a https:// es necesario incluir las siguientes lineas
#HTTP 2 HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Asegurate que el mod_rewrite este activo dentro del httpd.conf del apache
LoadModule rewrite_module modules/mod_rewrite.so
#HTTP 2 HTTPS
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
Asegurate que el mod_rewrite este activo dentro del httpd.conf del apache
LoadModule rewrite_module modules/mod_rewrite.so
//Validaciones From
function cleaninput(input){
/*
* Clean text for especial chars
* Call: onblur="cleaninput(this);"
* @auhtor Gustavo
* @version 1.0
* @param field (input,textarea)
*/
var texto = input.value.toUpperCase();
var regex = new RegExp("[^\A-Z,0-9]","g");
var nTexto = texto.replace(regex,"");
input.value = nTexto;
}
function cleaninput(input){
/*
* Clean text for especial chars
* Call: onblur="cleaninput(this);"
* @auhtor Gustavo
* @version 1.0
* @param field (input,textarea)
*/
var texto = input.value.toUpperCase();
var regex = new RegExp("[^\A-Z,0-9]","g");
var nTexto = texto.replace(regex,"");
input.value = nTexto;
}
