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

Re: Want to set up SVN for a web app

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Fri, 3 Apr 2009 14:52:14 +0400

Greetings, Ryan Schmidt!

>> Make sure you have .svn and CVS directories masked out of direct
>> access.
>> for Apache, it is done by specifying
>>
>> RewriteEngine On
>> RewriteRule "(.+/)?(\.svn|CVS)/" "/" [F,L]
>>
>> In either .htaccess file or VirtualHost configuration.

> Yes, this is a good idea. For comparison, I do it this way, for Apache:

> RedirectMatch 404 .*/\.svn(/|$)

> Doesn't need mod_rewrite.

Yes, this one probably the most efficient way of doing this.

> Enhance for CVS directories if needed.

> I prefer to make them return 404 Not Found instead of 403 Forbidden.
> No need to give the world any indication that there's a working copy
> at all.

:) May be...

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 03.04.2009, <14:50>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1531153
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-03 12:56:04 CEST

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.