My /etc/apache2/conf-available/localized-error-pages.conf after patching
http://paste.ubuntu.com/10813153/
** Description changed:
Hi, I followed the instructions in localized-error-pages.conf to setup
localized error pages, but found out that page content under
/error/include/ are not preprocessed before sent to client.
Example:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; lang="" xml:lang="">
" />
-
-
-
-
- You don't have permission to access the requested directory.
- There is either no index document or the directory is read-protected.
-
+ You don't have permission to access the requested directory.
+ There is either no index document or the directory is read-protected.
Error
-
-
+
+
It seems that the config template should include
-
- Options IncludesNoExec
- AddOutputFilter Includes html
- Order allow,deny
- Allow from all
+
+ Options IncludesNoExec
+ AddOutputFilter Includes html
+ Order allow,deny
+ Allow from all
- after
+ after
`
Alias /error/include/ "/path"
`
to make it process correctly
Example:
```
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml"; lang="en" xml:lang="en">
Access forbidden!
mailto:ntou...@gmail.com"; />
-
Access forbidden!
-
-
-
- You don't have permission to access the requested directory.
- There is either no index document or the directory is read-protected.
-
+ You don't have permission to access the requested directory.
+ There is either no index document or the directory is read-protected.
If you think this is a server error, please contact
the mailto:ntou...@gmail.com";>webmaster.
Error 403
- 140.121.80.26
- 海洋大學網路發展協會網站托管服務
+ 140.121.80.26
+ 海洋大學網路發展協會網站托管服務
```
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apache2 2.4.7-1ubuntu4.4
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic i686
NonfreeKernelModules: nvidia
Apache2ConfdDirListing: False
ApportVersion: 2.14.1-0ubuntu3.8
Architecture: i386
CurrentDesktop: KDE
Date: Mon Apr 13 10:22:55 2015
SourcePackage: apache2
UpgradeStatus: No upgrade log present (probably fresh install)
error.log:
- [Mon Apr 13 07:53:45.032576 2015] [mpm_event:notice] [pid 31758:tid
3074755200] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal
operations
- [Mon Apr 13 07:53:45.032600 2015] [core:notice] [pid 31758:tid 3074755200]
AH00094: Command line: '/usr/sbin/apache2'
+ [Mon Apr 13 07:53:45.032576 2015] [mpm_event:notice] [pid 31758:tid
3074755200] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal
operations
+ [Mon Apr 13 07:53:45.032600 2015] [core:notice] [pid 31758:tid 3074755200]
AH00094: Command line: '/usr/sbin/apache2'
modified.conffile..etc.apache2.conf.available.security.conf: [modified]
modified.conffile..etc.apache2.mods.available.userdir.conf: [modified]
mtime.conffile..etc.apache2.conf.available.security.conf:
2015-04-13T07:51:58.965640
mtime.conffile..etc.apache2.mods.available.userdir.conf:
2014-12-24T22:54:46.119177
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1443224
Title:
localized-error-pages.conf lacks config to preprocess /error/include
page content
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1443224/+subscriptions
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs