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

.htaccess commit issue

From: debu --- Debajit kataki <debajitkataki_at_gmail.com>
Date: Wed, 2 Feb 2011 17:00:02 +0530

Hello Friends,

I have an Apache-SVN server and what i have noticed that any folder with
.htaccess file or even ^.ht wont get committed in SVN.

I understand that this is an expected security behavior by apache, but what
I am looking here a proven workaround, so that my users can commit those
folder also which has such file in it.

Below is my current config:

<VirtualHost *:80>
    ServerAdmin debajit_kataki_at_gmail.com
    ServerName svn1.deb.com
    ServerAlias www.svn1.deb.com
    DocumentRoot "/var/www/svn/repos"
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</Files>
<Location /repos>
        DAV svn
        SVNPath "/var/www/svn/repos"
        AuthType Basic
        AuthName "Authorization Realm"
        AuthUserFile /var/www/svn/.htpasswd
        AuthzSVNAccessFile /etc/svn-acl-conf *( this is just a user/acl
file and I have given r/w access as of now, so ignore)
        Require valid-user
    </Location>

<Directory "/var/www/svn">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

    ErrorLog "logs/svn1.deb.com-error_log"
    CustomLog "logs/svn1.deb.com-access_log" combined
</VirtualHost>

Any helps /advice are highly appreciated..

Thanks/-
Received on 2011-02-02 12:49:40 CET

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.