- allow setting path-to-file or simple-string as error-document (only file is valid for lighttpd), fixes #267
This commit is contained in:
@@ -171,10 +171,10 @@ $lng['extras']['error404path'] = '404';
|
||||
$lng['extras']['error403path'] = '403';
|
||||
$lng['extras']['error500path'] = '500';
|
||||
$lng['extras']['error401path'] = '401';
|
||||
$lng['extras']['errordocument404path'] = 'URL to ErrorDocument 404';
|
||||
$lng['extras']['errordocument403path'] = 'URL to ErrorDocument 403';
|
||||
$lng['extras']['errordocument500path'] = 'URL to ErrorDocument 500';
|
||||
$lng['extras']['errordocument401path'] = 'URL to ErrorDocument 401';
|
||||
$lng['extras']['errordocument404path'] = 'ErrorDocument 404';
|
||||
$lng['extras']['errordocument403path'] = 'ErrorDocument 403';
|
||||
$lng['extras']['errordocument500path'] = 'ErrorDocument 500';
|
||||
$lng['extras']['errordocument401path'] = 'ErrorDocument 401';
|
||||
|
||||
/**
|
||||
* Errors
|
||||
@@ -1464,5 +1464,8 @@ $lng['serversettings']['perl']['suexecworkaround']['title'] = 'Enable SuExec wor
|
||||
$lng['serversettings']['perl']['suexecworkaround']['description'] = 'Enable only if customer docroots are not within the apache suexec path.<br />If enabled, Froxlor will generate a symlink from the customers perl-enabled directory + /cgi-bin/ to the given path.<br />Note that perl will then only work in the folders subdirectory /cgi-bin/ and not in the folder itself (as it does without this fix!)';
|
||||
$lng['serversettings']['perl']['suexeccgipath']['title'] = 'Path for customer perl-enabled directory symlinks';
|
||||
$lng['serversettings']['perl']['suexeccgipath']['description'] = 'You only need to set this if the SuExec-workaround is enabled.<br />ATTENTION: Be sure this path is within the suexec path or else this workaround is uselsess';
|
||||
$lng['panel']['descriptionerrordocument'] = 'Can be an URL, path to a file or just a string wrapped around " "<br />Leave empty to use server default value.';
|
||||
$lng['error']['stringerrordocumentnotvalidforlighty'] = 'A string as ErrorDocument does not work in lighttpd, please specify a path to a file';
|
||||
$lng['error']['urlerrordocumentnotvalidforlighty'] = 'An URL as ErrorDocument does not work in lighttpd, please specify a path to a file';
|
||||
|
||||
?>
|
||||
|
||||
@@ -171,10 +171,10 @@ $lng['extras']['error404path'] = '404';
|
||||
$lng['extras']['error403path'] = '403';
|
||||
$lng['extras']['error500path'] = '500';
|
||||
$lng['extras']['error401path'] = '401';
|
||||
$lng['extras']['errordocument404path'] = 'URL zum Fehlerdokument 404';
|
||||
$lng['extras']['errordocument403path'] = 'URL zum Fehlerdokument 403';
|
||||
$lng['extras']['errordocument500path'] = 'URL zum Fehlerdokument 500';
|
||||
$lng['extras']['errordocument401path'] = 'URL zum Fehlerdokument 401';
|
||||
$lng['extras']['errordocument404path'] = 'Fehlerdokument 404';
|
||||
$lng['extras']['errordocument403path'] = 'Fehlerdokument 403';
|
||||
$lng['extras']['errordocument500path'] = 'Fehlerdokument 500';
|
||||
$lng['extras']['errordocument401path'] = 'Fehlerdokument 401';
|
||||
|
||||
/**
|
||||
* Errors
|
||||
@@ -1447,5 +1447,8 @@ $lng['serversettings']['perl']['suexecworkaround']['title'] = 'Aktiviere SuExec
|
||||
$lng['serversettings']['perl']['suexecworkaround']['description'] = 'Aktivieren Sie den Workaround nur, wenn die Kunden-Heimatverzeichnise sich nicht unterhalb des suexec-Pfades liegen.<br />Wenn aktiviert erstellt Froxlor eine Verknüpfung des vom Kunden für Perl aktiviertem Pfad + /cgi-bin/ im angegebenen suexec-Pfad.<br />Bitte beachten Sie, dass Perl dann nur im Unterordner /cgi-bin/ des Kunden-Ordners funktioniert und nicht direkt in diesem Ordner (wie es ohne den Workaround wäre!)';
|
||||
$lng['serversettings']['perl']['suexeccgipath']['title'] = 'Pfad für Verknüpfungen zu Kunden-Perl-Verzeichnis';
|
||||
$lng['serversettings']['perl']['suexeccgipath']['description'] = 'Diese Einstellung wird nur benötigt, wenn der SuExec-Workaround aktiviert ist.<br />ACHTUNG: Stellen Sie sicher, dass sich der angegebene Pfad innerhalb des Suexec-Pfades befindet ansonsten ist der Workaround nutzlos';
|
||||
$lng['panel']['descriptionerrordocument'] = 'Mögliche Werte sind: URL, Pfad zu einer Datei oder ein Text umgeben von Anführungszeichen (" ")<br />Leer für Server-Standardwerd.';
|
||||
$lng['error']['stringerrordocumentnotvalidforlighty'] = 'Ein Text als Fehlerdokument funktioniert leider in LigHTTPd nicht, bitte geben Sie einen Pfad zu einer Datei an';
|
||||
$lng['error']['urlerrordocumentnotvalidforlighty'] = 'Eine URL als Fehlerdokument funktioniert leider in LigHTTPd nicht, bitte geben Sie einen Pfad zu einer Datei an';
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user