[Forwarding back to the list as others my have more clues here.]
FWIW I just created a new repos (BDB) and committed a
.htaccess w/o trouble and checked out to another WC, using
commandline client.
SVN 1.5.5 on Windows 2K SP4
Apache 2.0.63 on the same machine
Log of the commit operation:
192.168.0.2 - user [13/Mar/2009:11:13:38 +0100] "PROPFIND /svn/testrepos4/!svn/wrk/cdd622d8-278b-b14c-a89d-ddf177401b2d/.htaccess HTTP/1.1" 404 370 "-" "SVN/1.5.5 (r34862) neon/0.28.3"
192.168.0.2 - user [13/Mar/2009:11:13:38 +0100] "PUT /svn/testrepos4/!svn/wrk/cdd622d8-278b-b14c-a89d-ddf177401b2d/.htaccess HTTP/1.1" 201 347 "-" "SVN/1.5.5 (r34862) neon/0.28.3"
192.168.0.2 - user [13/Mar/2009:11:13:38 +0100] "PROPPATCH /svn/testrepos4/!svn/wrk/cdd622d8-278b-b14c-a89d-ddf177401b2d/.htaccess HTTP/1.1" 207 498 "-" "SVN/1.5.5 (r34862) neon/0.28.3"
192.168.0.2 - user [13/Mar/2009:11:13:38 +0100] "MERGE /svn/testrepos4 HTTP/1.1" 200 999 "-" "SVN/1.5.5 (r34862) neon/0.28.3"
192.168.0.2 - user [13/Mar/2009:11:13:39 +0100] "DELETE /svn/testrepos4/!svn/act/cdd622d8-278b-b14c-a89d-ddf177401b2d HTTP/1.1" 204 - "-" "SVN/1.5.5 (r34862) neon/0.28.3"
JH
------- Forwarded message follows -------
Subject: RE: Committing .htaccess files to a repository
Date sent: Thu, 12 Mar 2009 12:29:02 -0400
From: "Thompson, Graeme (GE Infra, Aviation)" <Graeme.Thompson_at_ge.com>
To: "Jan Hendrik" <list.jan.hendrik_at_gmail.com>
Thank you for your reply, I have responded inline...
> -----Original Message-----
> From: Jan Hendrik [mailto:list.jan.hendrik_at_gmail.com]
> Sent: 09 March 2009 16:18
> To: users_at_subversion.tigris.org
> Subject: Re: Committing .htaccess files to a repository
>
> Concerning Committing .htaccess files to a rep
> Thompson, Graeme (GE Infra, A wrote on 9 Mar 2009, 9:46, at
> least in part:
>
> > 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.
>
> Have you tried svn cleanup?
>
I have just tried it with a completely fresh repository, clean checkout
and only adding a single .htaccess file, and this still fails.
> > 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
>
> I should think that for this having any effect there should be a
> relevant <Directory /> section with
>
> AllowOverride [All or a combination from Options FileInfo
> AuthConfig Limit]
>
> for the folder you want to serve with Apache.
I would agree with that.
>
> > # 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>
>
> Basically this is what we have, too.
>
> But is the rejected .htaccess file in any way relevant to the
> /srv/svn/repos/Project path? FWIW we have hundreds of .htaccess
> files in our web projects and commit them w/o issues via Apache
> 2.0.63 (and earlier). The working copy folders have some
> AllowOverride setting of course to allow for local testing, but as
> siad this should have no bearing for SVN commits.
Here are the apache access log entries when trying to commit:
X.x.x.x - - [12/Mar/2009:16:00:34 +0000] "OPTIONS /repos/test HTTP/1.1"
401 1252 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "OPTIONS /repos/test
HTTP/1.1" 200 - "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "PROPFIND /repos/test
HTTP/1.1" 207 651 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "OPTIONS /repos/test
HTTP/1.1" 200 190 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "MKACTIVITY
/repos/test/!svn/act/bb48ac16-664e-c648-adf7-e787951a0a9f HTTP/1.1" 201
309 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "PROPFIND
/repos/test/!svn/vcc/default HTTP/1.1" 207 402 "-" "SVN/1.5.1 (r32289)
neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "CHECKOUT
/repos/test/!svn/bln/0 HTTP/1.1" 201 323 "-" "SVN/1.5.1 (r32289)
neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "PROPPATCH
/repos/test/!svn/wbl/bb48ac16-664e-c648-adf7-e787951a0a9f/0 HTTP/1.1"
207 462 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "PROPFIND /repos/test
HTTP/1.1" 207 387 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:34 +0000] "CHECKOUT
/repos/test/!svn/ver/0/ HTTP/1.1" 201 322 "-" "SVN/1.5.1 (r32289)
neon/0.28.2"
X.x.x.x - - [12/Mar/2009:16:00:34 +0000] "PROPFIND
/repos/test/!svn/wrk/bb48ac16-664e-c648-adf7-e787951a0a9f/.htaccess
HTTP/1.1" 404 1015 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - - [12/Mar/2009:16:00:36 +0000] "PROPFIND
/repos/test/!svn/wrk/bb48ac16-664e-c648-adf7-e787951a0a9f/.htaccess
HTTP/1.1" 404 1015 "-" "SVN/1.5.1 (r32289) neon/0.28.2"
X.x.x.x - gct [12/Mar/2009:16:00:37 +0000] "DELETE
/repos/test/!svn/act/bb48ac16-664e-c648-adf7-e787951a0a9f HTTP/1.1" 204
- "-" "SVN/1.5.1 (r32289) neon/0.28.2"
svnserve access works perfectly, File access also works perfectly and I
can checkout perfectly with all 3 protocols, including http.
The only thing that is failing is the committing of .htaccess files with
the error of the connection being forcible closed.
Is anyone else running happily on the Apache 2.2.10 and Subversion 1.5.2
server that are provided by default with openSUSE 11.1?
Graeme
------- End of forwarded message -------
---------------------------------------
Freedom quote:
We can't expect the American People
to jump from Capitalism to Communism,
but we can assist their elected leaders
in giving them small doses of Socialism,
until they awaken one day to find that they have Communism.
-- Nikita Khrushchev,
on the political trend launched by Roosevelt's 'New Deal'
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1316855
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-13 11:28:01 CET