Apache HTTP-server

En open source, platformsuafhængig webserver til betjening af HTTP/HTTPS med modulær support.

Standardplaceringer

Webrod: /usr/share/nginx/html

Konfiguration:

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

Logs:

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

Adgang

Åbn din browser: http://<server-ip>/

Servicekontrolkommandoer

# Start Apache
sudo systemctl start apache2    # Debian/Ubuntu
sudo systemctl start httpd      # CentOS/Fedora

# Stop Apache
sudo systemctl stop apache2     # Debian/Ubuntu
sudo systemctl stop httpd       # CentOS/Fedora

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

# Kontroller status
systemctl start apache2         # Debian/Ubuntu
systemctl status httpd          # CentOS/Fedora

 

Ansøgningsoplysninger