Browsing Swedish translation

172 of 2030 results
172.
The <emphasis>ErrorDocument</emphasis> directive allows you to specify a file for Apache to use for specific error events. For example, if a user requests a resource that does not exist, a 404 error will occur, and per Apache2's default configuration, the file <filename>/usr/share/apache2/error/HTTP_NOT_FOUND.html.var </filename> will be displayed. That file is not in the server's DocumentRoot, but there is an Alias directive in <filename>/etc/apache2/apache2.conf</filename> that redirects requests to the /error directory to /usr/share/apache2/error/. To see a list of the default ErrorDocument directives, use this command: <command>grep ErrorDocument /etc/apache2/apache2.conf</command>
Direktivet <emphasis>ErrorDocument</emphasis> låter dig specificera en fil åt Apache för att använda vid vissa felhändelser. Till exempel, om användaren efterfrågar en resurs som inte finns kommer ett 404-fel att uppstå, och enligt Apache2:s standardkonfiguration kommer filen <filename>/usr/share/apache2/error/HTTP_NOT_FOUND.html.var </filename> att visas. Den filen ligger inte i serverns DocumentRoot, men det finns ett Alias-direktiv i <filename>/etc/apache2/apache2.conf</filename> som vidarebefordrar förfrågningar till katalogen /error till /usr/share/apache2/error/. För att se en lista över standarddirektiven för ErrorDocument, använd det här kommandot: <command>grep ErrorDocument /etc/apache2/apache2.conf</command>
Translated by Daniel Nylander
Located in serverguide/C/web-servers.xml:215(para)
172 of 2030 results

This translation is managed by Ubuntu Swedish Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.