|
24.
|
|
|
<emphasis>ports.conf:</emphasis> houses the directives that determine which TCP ports Apache2 is listening on.
|
|
|
|
<emphasis>ports.conf:</emphasis> Enthält Direktiven, die festlegen, auf welchen TCP-Ports Apache2 lauschen soll.
|
|
Translated and reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:126(para)
|
|
25.
|
|
|
<emphasis>sites-available:</emphasis> this directory has configuration files for Apache2 <emphasis>Virtual Hosts</emphasis>. Virtual Hosts allow Apache2 to be configured for multiple sites that have separate configurations.
|
|
|
|
<emphasis>sites-available:</emphasis> Dieses Verzeichnis beinhaltet die Konfigurationsdateien für Apache2-<emphasis>»Virtual Hosts«</emphasis>. »Virtual Hosts« erlauben eine jeweils individuelle Konfiguration des Apache2 für unterschiedliche Websites.
|
|
Translated by
Joachim Altmann
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:131(para)
|
|
26.
|
|
|
<emphasis>sites-enabled:</emphasis> like mods-enabled, <filename role="directory">sites-enabled</filename> contains symlinks to the <filename>/etc/apache2/sites-available</filename> directory. Similarly when a configuration file in sites-available is symlinked, the site configured by it will be active once Apache2 is restarted.
|
|
|
|
<emphasis>sites-enabled:</emphasis> enthält wie »mods-enabled« symbolische Links zum Verzeichnis <filename>/etc/apache2/sites-available</filename>. Wenn ein symbolischer Link für eine Konfigurationsdatei in »sites available« erstellt wurde, wird die dadurch konfigurierte Website verfügbar sein, wenn Apache2 neu gestartet wurde.
|
|
Translated by
Joachim Altmann
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:138(para)
|
|
27.
|
|
|
<emphasis>magic:</emphasis> instructions for determining MIME type based on the first few bytes of a file.
|
|
|
|
<emphasis>magic:</emphasis> Regeln, um anhand der führenden Bytes einer Datei dem MIME-Typ zu erkennen.
|
|
Translated by
Joachim Altmann
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:145(para)
|
|
28.
|
|
|
In addition, other configuration files may be added using the <emphasis>Include</emphasis> directive, and wildcards can be used to include many configuration files. Any directive may be placed in any of these configuration files. Changes to the main configuration files are only recognized by Apache2 when it is started or restarted.
|
|
|
|
Weitere Konfigurationsdateien können hinzugefügt werden, indem man die <emphasis>Include</emphasis>-Anweisung benutzt. Dabei ist die Verwendung von Platzhaltern, um mehrere Konfigurationsdateien hinzuzufügen, möglich. Jeder beliebige Ordner kann in jeder der oben genannten Konfigurationsdateien verwendet werden. Änderungen in den Hauptkonfigurationsdateien werden von Apache2 erst bei einem (Neu-)Start wirksam.
|
|
Translated by
Joachim Altmann
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:151(para)
|
|
29.
|
|
|
The server also reads a file containing mime document types; the filename is set by the <emphasis>TypesConfig</emphasis> directive, typically via <filename>/etc/apache2/mods-available/mime.conf</filename>, which might also include additions and overrides, and is <filename>/etc/mime.types</filename> by default.
|
|
|
|
Der Server lädt auch eine Datei zur Festlegung der MIME-Dokumentarten. Der Name der Datei wird durch die <emphasis>TypesConfig</emphasis>-Direktive festgelegt, typischerweise in der Datei <filename>/etc/apache2/mods-available/mime.conf</filename>. Diese Datei kann auch Ergänzungen (»additions«) und Überschreibungen (»overrides«) anderer Konfigurationsdateien enthalten. Der Standardname der Datei ist <filename>/etc/mime.types</filename>.
|
|
Translated by
Joachim Altmann
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:160(para)
|
|
30.
|
|
|
Basic Settings
|
|
|
|
Grundlegende Einstellungen
|
|
Translated by
Matthew East
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:168(title)
|
|
31.
|
|
|
This section explains Apache2 server essential configuration parameters. Refer to the <ulink url="http://httpd.apache.org/docs/2.4/">Apache2 Documentation</ulink> for more details.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:169(para)
|
|
32.
|
|
|
Apache2 ships with a virtual-host-friendly default configuration. That is, it is configured with a single default virtual host (using the <emphasis>VirtualHost</emphasis> directive) which can be modified or used as-is if you have a single site, or used as a template for additional virtual hosts if you have multiple sites. If left alone, the default virtual host will serve as your default site, or the site users will see if the URL they enter does not match the <emphasis>ServerName</emphasis> directive of any of your custom sites. To modify the default virtual host, edit the file <filename>/etc/apache2/sites-available/000-default.conf</filename>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:177(para)
|
|
33.
|
|
|
The directives set for a virtual host only apply to that particular virtual host. If a directive is set server-wide and not defined within the virtual host settings, the default setting is used. For example, you can define a Webmaster email address and not define individual email addresses for each virtual host.
|
|
|
|
Direktiven, die für einen bestimmten virtuellen Host gesetzt werden, gelten auch nur für diesen entsprechenden virtuellen Host. Wenn eine Direktive für den gesamten Webserver gilt und nicht in den Einstellungen des virtuellen Hosts explizit gesetzt ist, wird sie als Standardeinstellung benutzt. So können Sie z.B. eine E-Mail-Adresse des Verantwortlichen der Website in der Standardeinstellung für den gesamten Webserver festlegen und nicht für jeden virtuellen Host einzeln.
|
|
Translated and reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:190(para)
|