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

SVN working copies, websites, .svn and .htaccess

From: Jani Averbach <jaa_at_jaa.iki.fi>
Date: 2005-02-28 21:54:24 CET

Hello,

I need some help with our .htaccess configuration:

Is there any way to put to the top most .htaccess file a rule that
will block all sub-tree .svn directories to be served by Apache
HTTPD?

There is a FAQ [1] about how you could do this with httpd.conf, but in
our case we don't have access to the server's main configuration, so
we have to live (and die) with .htaccess files.

The FAQ suggest that for httpd.conf:

  # Disallow browsing of Subversion working copy administrative dirs.
  <DirectoryMatch "^/.*/\.svn/">
     Order deny,allow
     Deny from all
  </DirectoryMatch>

Any ideas how to do something similar with .htaccess file?

Thanks for any help,
Jani

1) http://subversion.tigris.org/faq.html#website-auto-update

-- 
Jani Averbach
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 28 21:56:52 2005

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.