[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Hiding .svn folders from apache

From: Greg Martyn <gmartyn_at_verizon.net>
Date: 2004-10-30 12:44:01 CEST

On Saturday 30 October 2004 06:15 am, Marcin Gil wrote:
> Dnia sobota, 30 października 2004 12:04, Greg Martyn napisał:
> > How do I use a .htaccess file to tell apache that it shouldn't serve any
> > files located in all the .svn folders in my site?
>
> Look at your httpd.conf. There is a section that hides all .ht* files/dirs.
> Copy and change.

I followed apache's example:

<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

..and tried this:

<Files "*.svn*">
    Order allow,deny
    Deny from all
</Files>

..but it didn't seem to work.

Any ideas?

Thanks.

  • application/pgp-signature attachment: stored
Received on Sat Oct 30 12:44:43 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.