Un «truco» para generar usuarios y passwords para la protección de carpetas directamente desde la shell: htpasswd -cb .htpasswd <usuario> <contraseña> En este ejemplo, nos generaría el fichero .htpasswd siguiente: root@localhost:~# cat .htpasswd usuario:ktRS/8rW/AFmY Después simplemente hay que añadir al fichero .htaccess correspondiente la autenticación, ejemplo: AuthType Basic AuthName «Area de acceso restringido» AuthUserFile /ruta/al/.htpasswd Seguir leyendo
-
6 trucos útiles del gestor de paquetes yum Jun 30, 2011
-
Cómo compilar Apache y PHP en Linux Mar 19, 2011
-
Configurar una VLAN en Linux con vconfig Nov 24, 2011
-
Sacar cabeceras HTTP con cURL May 31, 2020
-
Configurar Windows UPDATE a través de PROXY Feb 28, 2020
-
where can u buy cialis on Apache
where can u buy cialis Generic for
-
top casino sites on Apache
top casino sites [...]just beneath, are (...)
-
Marijuana Wax for Sale on Apache
Marijuana Wax for Sale [...]Here are a (...)
-
ZOURS STRAIN on Apache
ZOURS STRAIN [...]usually posts some (...)
-
clitoral toy on Apache
clitoral toy [...]we came across a cool (...)