You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "B. W. Fitzpatrick" <fi...@red-bean.com> on 2003/07/19 23:32:44 UTC
[PATCH] Add .svn to IndexIgnore
Patch to add Subversion .svn directories to the default IndexIgnore in
httpd-[std|win].conf.
-Fitz
--
Brian W. Fitzpatrick <fi...@red-bean.com> http://www.red-bean.com/fitz/
--------------------8-<-------cut-here---------8-<-----------------------
Index: docs/conf/httpd-std.conf.in
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/conf/httpd-std.conf.in,v
retrieving revision 1.50
diff -u -r1.50 httpd-std.conf.in
--- docs/conf/httpd-std.conf.in 16 Jul 2003 19:33:09 -0000 1.50
+++ docs/conf/httpd-std.conf.in 19 Jul 2003 21:29:02 -0000
@@ -702,7 +702,7 @@
# IndexIgnore is a set of filenames which directory indexing should ignore
# and not include in the listing. Shell-style wildcarding is permitted.
#
- IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
+ IndexIgnore .??* *~ *# HEADER* README* .svn RCS CVS *,v *,t
</IfModule>
<IfModule mod_mime.c>
Index: docs/conf/httpd-win.conf
===================================================================
RCS file: /home/cvspublic/httpd-2.0/docs/conf/httpd-win.conf,v
retrieving revision 1.96
diff -u -r1.96 httpd-win.conf
--- docs/conf/httpd-win.conf 16 Jul 2003 19:33:09 -0000 1.96
+++ docs/conf/httpd-win.conf 19 Jul 2003 21:29:03 -0000
@@ -614,7 +614,7 @@
# IndexIgnore is a set of filenames which directory indexing should ignore
# and not include in the listing. Shell-style wildcarding is permitted.
#
-IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
+IndexIgnore .??* *~ *# HEADER* README* .svn RCS CVS *,v *,t
#
# AddType allows you to add to or override the MIME configuration
Re: [PATCH] Add .svn to IndexIgnore
Posted by "Roy T. Fielding" <fi...@apache.org>.
> Patch to add Subversion .svn directories to the default IndexIgnore in
> httpd-[std|win].conf.
I'd rather you explain why the first entry (.??*) is not sufficient:
> - IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
> + IndexIgnore .??* *~ *# HEADER* README* .svn RCS CVS *,v *,t
It should already be hiding the .svn directories.
....Roy