Skip to content

Commit

Permalink
Apache - localized-error-pages.conf - 處理 Launchpad Bug #1443224
Browse files Browse the repository at this point in the history
  • Loading branch information
Vdragon authored and 海洋大學網路發展協會網站托管服務系統管理員 committed Apr 13, 2015
1 parent 1a6bf43 commit 5c2e200
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apache2/conf-available/localized-error-pages.conf
Expand Up @@ -21,15 +21,16 @@
# default HTTP_<error>.html.var files by adding the line:
#
Alias /error/include/ "/var/www/localized-error-pages/"

# Workaround for Launchpad Bug #1443224
# https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1443224
<Directory "/var/www/localized-error-pages/">
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority zh-tw zh en cs de es fr it nl sv p$
ForceLanguagePriority Prefer Fallback
</Directory>
# End of "Workaround for Launchpad Bug #1443224"

#
# which allows you to create your own set of files by starting with the
Expand Down

0 comments on commit 5c2e200

Please sign in to comment.