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

Committing .htaccess files to a repository

From: Thompson, Graeme (GE Infra, Aviation) <Graeme.Thompson_at_ge.com>
Date: Mon, 9 Mar 2009 09:46:14 -0400

Hi,
 
We are running a SVN 1.5.2 served using Apache 2.2.10 running on
openSUSE 11.1 and are having issues committing changes to .htaccess
files.

I am able to checkout quite happily using any protocol, however when I
try to commit http://server/repos/project/folder/.htaccess we get:
 
Commit failed (details follow):
PROPFIND of
'/repos/project/!svn/wrk/ec1cffe3-4aba-b14c-a252-978250e0cd7c/folder/.ht
access':
Could not read status line: An existing connection was forcibly closed
by the
remote host.
 (http://server)
 
I have tried committing using the file protocol with no problems and am
therefore heading towards the belief that this is an issue with the
apache server configuration.
 
The default apache configuration has the following lines in httpd.conf
which seem to limit access to the .htaccess files:
 
# forbid access to the entire filesystem by default
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
 
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
    Order allow,deny
    Deny from all
</Files>

However commenting these out, or changing the Deny to Allow does not
seem to solve the problem.

We are using the method recommended from the svn book to server the
repository, from out subversion.conf:

<Location /repos/Project>
   DAV svn
   LimitXMLRequestBody 0
   SVNPath /srv/svn/repos/Project

   # Limit write permission to list of valid users.
   AuthType Basic
   AuthName "Authorization Realm"
   AuthUserFile /srv/svn/user_access/project_passwdfile
   Require valid-user
</Location>

Does anyone have any ideas or suggestions?

Thank you,

Graeme

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1296244

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-09 14:47:23 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.