Apache HTTP-server

Een open-source, platformonafhankelijke webserver voor het aanbieden van HTTP/HTTPS met modulaire ondersteuning.

Standaardlocaties

Webroot: /usr/share/nginx/html

Configuratie:

  • Debian/Ubuntu: /etc/apache2/
  • CentOS/Fedora: /etc/httpd/

Logboeken:

  • Debian/Ubuntu: /var/log/apache2/
  • CentOS/Fedora: /var/log/httpd/

Toegang

Open uw browser: http://<server-ip>/

Servicebesturingscommando's

# Apache starten    
sudo systemctl start apache2    # Debian/Ubuntu    
sudo systemctl start httpd      # CentOS/Fedora    
    
# Apache stoppen    
sudo systemctl stop apache2     # Debian/Ubuntu    
sudo systemctl stop httpd       # CentOS/Fedora

# Apache opnieuw starten
sudo systemctl restart apache2  # Debian/Ubuntu
sudo systemctl restart httpd    # CentOS/Fedora

# Status controleren
systemctl start apache2         # Debian/Ubuntu
systemctl status httpd          # CentOS/Fedora

 

Details van de aanvraag