cuaderno de campo

anotaciones

Menú
  • casa
    • dinou del carrer nou
  • cocina
    • pan
    • repostería
    • verdura
  • huerto
    • plano del número 29
    • huerto del año 2023
  • humanidades
    • fonoteca
    • galería
  • juego
    • lista de juegos
    • recalbox en rpi 3
    • dosbox
  • linux
    • bash
    • sistema operativo
    • ssh
  • web
    • apache
    • css
    • html5
    • javascript
    • mysql
    • php
Menú

Etiqueta: apache2ctl

apache2 control

htaccess: configuración

Publicado el 26 de octubre de 201726 de febrero de 2021 por ernesto
  1. creación del archivo:

    touch /media/web/.htaccess

    si se tiene acceso al servidor apache (a su configuración), no debería emplearse este recurso porque incide (claro) en su tiempo de ejecución:

    Allowing .htaccess files will make Apache look for them upon every access to your server. Since parent directories are searched as well,

Más
Etiquetado como accessfilename, allowoverride, apache2ctl, systemctl, touch

apache2: depuración

Publicado el 25 de octubre de 201726 de febrero de 2021 por ernesto

apache2ctl

  1. se puede comprobar la configuración del servidor vía apache2ctl: con -S, este comando «show[s] parsed vhost settings» y «show[s] parsed run settings»:

    apache2ctl -S
    VirtualHost configuration:
    192.168.1.7:9700 RB (/etc/apache2/sites-enabled/RB.conf:1)
    ServerRoot: «/etc/apache2»
    Main DocumentRoot: «/var/www/html»
    Main ErrorLog: «/var/log/apache2/error.log»
    Mutex default: dir=»/var/lock/apache2″ mechanism=fcntl
    Mutex mpm-accept: using_defaults
    Mutex watchdog-callback: using_defaults
    Mutex

Más
Etiquetado como a2enmod, apache2ctl, tail, wget

apache2: instalación y configuración

Publicado el 15 de diciembre de 201526 de febrero de 2021 por ernesto

instalación y configuración

  1. sudo apt-get install apache2
  2. sudo nano /etc/apache2/apache2.conf

    Timeout 30
    MaxKeepAliveRequests 25

  3. sudo nano /etc/apache2/ports.conf

    ServerName RB
    Listen 192.168.1.7:9700

  4. luego, se crea el archivo RB.conf:
    sudo cp /etc/apache2/sites-available/{000-default.conf,RB.conf}
    sudo touch /etc/apache2/sites-available/RB.conf
  5. sudo nano /etc/apache2/sites-available/RB.conf
    <VirtualHost 192.168.1.7:9700>
        ServerName RB
        ServerAdmin ernesto@poderna.com
        DocumentRoot /media/web/
        <Directory /media/web/>
            Options Indexes FollowSymLinks MultiViews
            
Más
Etiquetado como .htaccess, a2dissite, a2enmod, a2ensite, adduser, apache2ctl, apt-get, cat, chgrp, id, ls, netstat, service, systemctl, tail, touch

RSS rutas fuera

  • Review – Tonight it’s a World We Bury 29 de mayo de 2023 Hate Meditations
  • Necropolis #67 – Damim 29 de mayo de 2023 Hate Meditations
  • Sadistic Metal Reviews: Covert Dualism Propaganda Edition 28 de mayo de 2023 Brett Stevens
  • Beats and yelling from: Kostnatění, Sporae Autem Yuggoth, KRE^U 26 de mayo de 2023 Hate Meditations
  • Conjureth – The Parasitic Chambers (2023) 24 de mayo de 2023 Belisario
  • Hessian Scrum: Justin Vølus (Vargheist records, Vølus, Psionic Madness etc) 23 de mayo de 2023 hessianfirm
  • Beats and yelling from: Hail Conjurer, Hasard, Martre 21 de mayo de 2023 Hate Meditations
  • Cadaver Releases Modern Metal Hit “The Age of the Offended” 19 de mayo de 2023 Brett Stevens
  • Review – Black Metal Rainbows 18 de mayo de 2023 Hate Meditations

Categorías

apache bash casa cocina corral css exterior fonoteca galería html5 huerto humanidades humanidades digitales interior jardín javascript juego linux mysql pan php repostería sistema operativo ssh verdura web

Archivo

cuaderno de campo 2011-2023