|
54.
|
|
|
The <emphasis>ErrorDocument</emphasis> directive allows you to specify a file for Apache2 to use for specific error events. For example, if a user requests a resource that does not exist, a 404 error will occur. By default, Apache2 will simply return a HTTP 404 Return code. Read <filename>/etc/apache2/conf-available/localized-error-pages.conf</filename> for detailed instructions for using ErrorDocument, including locations of example files.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:350(para)
|
|
55.
|
|
|
By default, the server writes the transfer log to the file <filename>/var/log/apache2/access.log</filename>. You can change this on a per-site basis in your virtual host configuration files with the <emphasis>CustomLog</emphasis> directive, or omit it to accept the default, specified in <filename> /etc/apache2/conf-available/other-vhosts-access-log.conf</filename>. You may also specify the file to which errors are logged, via the <emphasis>ErrorLog</emphasis> directive, whose default is <filename>/var/log/apache2/error.log</filename>. These are kept separate from the transfer logs to aid in troubleshooting problems with your Apache2 server. You may also specify the <emphasis>LogLevel</emphasis> (the default value is "warn") and the <emphasis>LogFormat</emphasis> (see <filename> /etc/apache2/apache2.conf</filename> for the default value).
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/web-servers.xml:360(para)
|
|
56.
|
|
|
Some options are specified on a per-directory basis rather than per-server. <emphasis>Options</emphasis> is one of these directives. A Directory stanza is enclosed in XML-like tags, like so:
|
|
|
|
Manche Optionen gelten nur auf Ordner-Ebene und nicht auf Server-Ebene. <emphasis>Options</emphasis> ist so eine Anweisung. Ein Verzeichnisabsatz ist mit XML-ähnlichen Kennzeichen umklammert, zum Beispiel so:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:375(para)
|
|
57.
|
|
|
<Directory /var/www/html/mynewsite>
...
</Directory>
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
<Verzeichnis /var/www/html/mynewsite>
...
</Verzeichnis>
|
|
Translated by
Torsten Franz
|
|
Reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:381(programlisting)
|
|
58.
|
|
|
The <emphasis>Options</emphasis> directive within a Directory stanza accepts one or more of the following values (among others), separated by spaces:
|
|
|
|
Die <emphasis>Options</emphasis>-Anweisung in einem Ordnerabsatz kann, mit Leerzeichen getrennt, einen oder mehrere der folgenden Werte (neben weiteren) enthalten:
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:387(para)
|
|
59.
|
|
|
Most files should not be executed as CGI scripts. This would be very dangerous. CGI scripts should kept in a directory separate from and outside your DocumentRoot, and only this directory should have the ExecCGI option set. This is the default, and the default location for CGI scripts is <filename>/usr/lib/cgi-bin</filename>.
|
|
|
|
Die meisten Dateien sollten nicht als CGI-Skript ausgeführt werden, da dies sehr gefährlich wäre. CGI-Skripte sollten in einem Ordner außerhalb Ihres DocumentRoot und von diesem getrennt aufbewahrt werden und nur dieser Ordner darf die ExecCGI-Option aktiviert haben. Das ist die Vorgabeeinstellung, der Vorgabeort für CGI-Skripte ist <filename>/usr/lib/cgi-bin</filename>.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:399(para)
|
|
60.
|
|
|
<emphasis role="bold">ExecCGI</emphasis> - Allow execution of CGI scripts. CGI scripts are not executed if this option is not chosen. <placeholder-1/>
|
|
|
|
<emphasis role="bold">ExecCGI</emphasis> - Erlaubt die Ausführung von CGI-Skripten. CGI-Skripte werden nicht ausgeführt, wenn diese Option nicht gesetzt ist. <placeholder-1/>
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:394(para)
|
|
61.
|
|
|
<emphasis role="bold">Includes</emphasis> - Allow server-side includes. Server-side includes allow an HTML file to <emphasis> include</emphasis> other files. See <ulink url="https://help.ubuntu.com/community/ServerSideIncludes">Apache SSI documentation (Ubuntu community)</ulink> for more information.
|
|
|
|
<emphasis role=\"bold\">Includes</emphasis> - Erlaubt die Verwendung von »server-side includes». »Server-side includes« ermöglichen es, in einer HTML-Datei andere Dateien einzufügen. Siehe <ulink url=\"https://help.ubuntu.com/community/ServerSideIncludes\">Apache SSI Dokumentation (Ubuntu-Community)</ulink> für weitere Informationen.
|
|
Translated and reviewed by
Phillip Sz
|
|
|
|
Located in
serverguide/C/web-servers.xml:410(para)
|
|
62.
|
|
|
<emphasis role="bold">IncludesNOEXEC</emphasis> - Allow server-side includes, but disable the <emphasis>#exec</emphasis> and <emphasis>#include</emphasis> commands in CGI scripts.
|
|
|
|
<emphasis role="bold">IncludesNOEXEC</emphasis> - Erlaubt serverseitiges Einbetten, aber deaktiviert die <emphasis>#exec</emphasis> und <emphasis>#include</emphasis> Befehle in CGI-Skripten.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:419(para)
|
|
63.
|
|
|
For security reasons, this should usually not be set, and certainly should not be set on your DocumentRoot directory. Enable this option carefully on a per-directory basis only if you are certain you want users to see the entire contents of the directory.
|
|
|
|
Aus Sicherheitsgründen sollte dies nicht gesetzt werden, schon gar nicht für Ihren DocumentRoot-Ordner. Aktivieren Sie diese Option nur nach sorgfältiger Überlegung, nur auf Ordnerebene und nur wenn Sie sich sicher sind, dass Sie wollen, dass Benutzer den gesamten Inhalt des Ordners einsehen können.
|
|
Translated by
Matthew East
|
|
|
|
Located in
serverguide/C/web-servers.xml:431(para)
|