File: permission_override.patch

package info (click to toggle)
w3c-markup-validator 1.2%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,476 kB
  • sloc: perl: 2,936; xml: 1,331; python: 427; sh: 124; makefile: 41
file content (20 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Nicholas Bamber <nicholas@periapt.co.uk>
Subject: Permission override in case access is denied generally
Last-Update: 2011-03-17
Bug: http://lists.w3.org/Archives/Public/www-validator/2011Mar/0035.html
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608225
--- a/httpd/conf/httpd.conf
+++ b/httpd/conf/httpd.conf
@@ -61,6 +61,12 @@
   ExpiresByType application/javascript A2592000
   ExpiresByType application/ecmascript A2592000
   </IfModule>
+
+  # See bug 608225
+  # Permission may be denied higher up so override here.
+  Order allow,deny
+  allow from all
+
 </Directory>
 
 # Atom news feed