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_kat...@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/-

Reply via email to