Apache2
apache2 - Apache Hypertext Transfer Protocol Server
Beschreibung
- apache2 ist das Apache-Webserver-Serverprogramm
Kann als eigenständiger Daemon-Prozess ausgeführt werden
- Dabei wird ein Pool von Kindprozessen oder Threads erstellt, um Anfragen zu bearbeiten
- Aufruf
apache2 sollte nicht direkt aufgerufen werden, sondern über
- /etc/init.d/apache2
- apache2ctl
- Debian
Die Standardkonfiguration von Debian erfordert Umgebungsvariablen
- /etc/apache2/envvars
- definiert sind und nicht verfügbar sind, wenn apache2 direkt gestartet wird
apache2ctl kann verwendet werden, um beliebige Argumente an apache2 zu übergeben
Installation
Syntax
apache2 [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|graceful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ]
Optionen
-d | serverroot | Set the initial value for the ServerRoot directive to serverroot
|
-f | config | Uses the directives in the file config on startup
|
-k | restart|graceful|stop|graceful-stop | Signals apache2 to start, restart, or stop
|
-C | directive | Process the configuration directive before reading config files |
-c | directive | Process the configuration directive after reading config files |
-D | parameter | Sets a configuration parameter which can be used with <IfDefine> sections in the configuration files to conditionally skip or process commands at server startup and restart |
-e | level | Sets the LogLevel to level during server startup
|
-E | file | Send error messages during server startup to file |
-R | directory | When the server is compiled using the SHARED_CORE rule, this specifies the directory for the shared object files |
-h | Output a short summary of available command line options | |
-l | Output a list of modules compiled into the server
| |
-L | Output a list of directives together with expected arguments and places where the directive is valid | |
-M | Dump a list of loaded Static and Shared Modules | |
-S | Show the settings as parsed from the config file (currently only shows the virtualhost settings) | |
-t | Run syntax tests for configuration files only
| |
-v | Print the version of apache2, and then exit | |
-V | Print the version and build parameters of apache2, and then exit | |
-X | Run apache2 in debug mode
|
Parameter
Umgebungsvariablen
Exit-Status
Anwendung
Problembehebung
Konfiguration
Dateien
Anhang
Siehe auch
- Apache/HTTP/Anwendungen
- Apache/HTTP/Authentifizierung
- Apache/HTTP/Befehle
- Apache/HTTP/Grundlagen
- Apache/HTTP/Installation
- Apache/HTTP/Installation/Linux
- Apache/HTTP/Installation/Windows
- Apache/HTTP/Konfiguration
- Apache/HTTP/Logging
- Apache/HTTP/MPM/Event
- Apache/HTTP/Module
- Apache/HTTP/Module/Verwaltung
- Apache/HTTP/Reverse proxy
- Apache/HTTP/SSL
- Apache/HTTP/Server Side Includes
- Apache/HTTP/Sicherheit
- Apache/HTTP/Virtuelle Server
- Apache/HTTP/Virtuelle Server/Beispiele
- Apache/HTTP/Windows
- Apache/HTTP/Windows/Anpassen
- Apache/HTTP/Windows/Dienst
- Apache/HTTP/Windows/Download
- Apache/HTTP/Windows/Konsole
- Apache/HTTP/Windows/Netzwerkressourcen
- Apache/HTTP/Windows/Test
- Apache/HTTP/Windows/Tuning
- Apache/HTTP/Zugriffsrechte
- Apache/Lizenz
- Apache2
- Apache2ctl
- Apache Debian Standard Seite
- Apache HTTP Server
- Apache Metron
- Apache Software Foundation
- /usr/share/doc/apache2/README.Debian.gz
Dokumentation
Man-Pages
- apache2ctl(8)
Links
Weblinks
- Auch verfügbar im apache2-doc-Paket
- Debian specific
Information about Debian specific changes and configuration can be found in
- /usr/share/doc/apache2/README.Debian.gz