]> err.no Git - dak/commitdiff
<Files> matches only the basename, so wrap it inside a <Directory> block
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 12 Jan 2013 13:53:24 +0000 (14:53 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 12 Jan 2013 13:54:19 +0000 (14:54 +0100)
config/debian/apache.conf-incoming

index 0460a07c47156c6cbc9f20866065e1fff76d2298..7dae6e32d0caaa5f947aeeb3dcc57297ab80c073 100644 (file)
     Order deny,allow
   </Directory>
 
-  <Files /srv/incoming.debian.org/robots.txt>
-    Order deny,allow
-  </Files>
+  <Directory /srv/incoming.debian.org>
+    <Files robots.txt>
+      Order deny,allow
+    </Files>
+  </Directory>
   Alias /robots.txt /srv/incoming.debian.org/robots.txt
 
   # buildd direct access -- buildds only