Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- .htaccess rewrites (redirecciones) @web:apache:htaccess
- ccion-301/]] hay que tener el mod_rewrite activo <code apache> Options +FollowSymlinks RewriteEngine on </code> <code apache> RedirectMatch permanent ^/(.*) http://<url>/$1 </code> == zxc.cat <code apache> RewriteEngine on Rewri
- .htaccess @web:apache:htaccess
- o a carpetas * denegar acceso total a carpeta: <code apache>deny from all</code> * denegar acceso total, excepto determinada IP o rango: <code apache> deny from all allow from x.x.x.x allow from y.y.y.y/x</code> * denegar acceso a un archivo:<code apache><Fi
- openssl @web:security
- utils * Remove a passphrase from a private key:<code bash>openssl rsa -in privateKey.pem -out newPrivateKey.pem </code> == check * Check a Certificate Signing Request (CSR):<code bash>openssl req -text -noout -verify -in CSR.csr </code> * Check a private key: <code bash>openssl rsa
- wordpress @web:security
- endo una función en el fichero **functions.php**:<code php>function no_generator() { return ''; } add_filter( 'the_generator', 'no_generator' );</code> * Desactivar XML-RPC (plugin -> **Disable XML-... entas-de-administrador-de-wordpress.html]] * <code bash>wget https://<site>/wp-json/wp/v2/users</code> * Cambiar dirección login (plugin -> **WPS Hide L
- .htpasswd @web:apache
- ico del archivo, coge el pass de los parámetros: <code bash>htpasswd -b .htpasswd mate m2t3</code> * pide la pass: <code bash>htpasswd .htpasswd mate</code> * hace un output por pantalla, no en fichero: <code bash>htpa
- certificados de seguridad (apache) @web:apache
- server == creacion - generar la clave privada:<code bash>openssl genrsa -des3 -out fichero.key 2048</code> * quitar la opción ''-des3'' para generarla sin contraseña - generar el .csr: <code>openssl req -new -key fichero.key -out fichero.csr</code> * country: ES * State: Madrid * Loca
- let's encrypt k0.vividumcodex.com @web:security:letsencrypt
- = let's encrypt k0.vividumcodex.com == resumen * montado sobre 2 contenedores diferentes * nginx * certbot == scripts <code bash run-nginx.sh> docker run \ -it \ --name ng... ertbot/www:/var/www/certbot \ nginx:1.15-alpine </code> <code bash run-certbot.sh> docker run \ -it \ --name certbot \ --rm \ -v ${PWD}/data/certbot/conf
- Let's Encrypt @web:security
- de-certificados-con-lets-encrypt/]] == install <code bash> sudo apt install software-properties-common... verse sudo apt update sudo apt install certbot </code> + info: [[https://eff-certbot.readthedocs.io/en... certbot.eff.org/]] == standalone (no webserver) <code bash> sudo certbot certonly --standalone --agree-... del dominio en /etc/letsencrypt/live/<DOMAIN>/ </code> obtener los certificados de Let's Encrypt:<code
- virtualhost examples @web:apache:vhost
- rtualhost examples == multidominio http -> https <code apache> <VirtualHost *:80> ServerName landing... # vim: syntax=apache ts=4 sw=4 sts=4 sr noet </code> * [[web:security:letsencrypt:multidominio|]] == redireccción .htaccess <code apache>RewriteEngine on rewriterule ^(.*)coneixel... participa-y-descubre-tu-cerebro.html [r=301,nc] </code> == redirección https con excepciones <code apac
- Línea de Comando con Apache @web:apache
- ión de los VH == fichero configuración "típico" <code apache> <VirtualHost *:80> DocumentRoot "... s/%Y/%m/%d/custom.log" combined </VirtualHost> </code> * DocumentRoot * DirectoryIndex * ServerName, ServerAlias == script limpieza <code bash> #!/bin/bash for i in $(find /var/www/ -maxd... -iname \*\.log -mtime +2 -exec gzip {} \; done </code> == módulo mod_status * se suele instalar en /
- configuración apache @web:apache
- eros INCLUDE) * dentro del httpd.conf, usar: <code>User = ${VARIABLE}</code> * en el bash: <code>VARIABLE="apache"</code>
- Let's Encrypt multidominio @web:security:letsencrypt
- = Let's Encrypt multidominio <code bash; first-setup.sh> #!/bin/bash COMMON_NAME=${1:-"landing.fidmag.o... echo -e "FQDN as a first parameter needed\n" } </code> <code bash renew.sh> #!/bin/bash cd /root/dev/acme-tiny declare -a COMMON_NAMES=("fidmag.org" "mood... | /usr/sbin/sendmail -v informatica@fidmag.com fi done /bin/systemctl restart apache2.service </code>
- let's encrypt seedbox.torresegea.es @web:security:letsencrypt
- llenge/* para la renovación. Si no... * a mano:<code bash>docker stop rtorrent-rutorrent sudo service ... ce apache2 stop docker start rtorrent-rutorrent </code> * PTE mirar: * [[https://medium.com/bros/e... ón 2 (Place files in webroot directory (webroot))<code bash>Requesting to rerun ./certbot-auto with root... FF: https://eff.org/donate-le</code> - actualizar los archivos: * copiar de ''/
- web
- * x * optimizaciones: * [[http://www.catswhocode.com/blog/make-wordpress-faster]] * [[http://www.catswhocode.com/blog/wordpress-super-useful-wp-config-tips]] * temas: * [[http://www.catswhocode.com/blog/7-great-web-design-and-wordpress-deals]]
- Day 3 : Sending Emails @web:php:codeigniter
- = Day 3 : Sending Emails [[http://codeigniter.com/user_guide/libraries/email.html]] * datos de conexió... directamente en ''/application/config/email.php''<code> $config = array( 'protocol' => 'smtp', '... p_user' => 'user', 'smtp_pass' => 'pass' ); </code> * ''$this->load->library('email',$config);''