Unidad 9: Recursos
Apache (Servidor Web)
Unidad 9: Recursos
Introduccion
Referencias y comandos clave para operar Apache.
Comandos clave (cheatsheet)
- Servicio:
systemctl status apache2,systemctl reload apache2,systemctl restart apache2 - Config:
apachectl configtest,apache2ctl -M - Sitios/modulos:
a2ensite,a2dissite,a2enmod,a2dismod,a2enconf,a2disconf - Pruebas:
curl -I http://localhost,curl -H 'Host: ...' http://127.0.0.1