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

Re: A couple of quick questions.

From: Santeri Hernejärvi <gray_at_gray.mine.nu>
Date: 2002-10-28 23:50:55 CET

--On den 28 oktober 2002 15:53 -0600 Karl Fogel
<kfogel@newton.ch.collab.net> wrote:
> Santeri Hernejärvi <gray@gray.mine.nu> writes:
>> How is the 'Last Changed Author' property supposed to work?
>> It keeps saying 'anonymous'.
>>
>> I tried setting svn:author, which seems to work, but the last changed
>> author keeps saying anonymous.
>
> Your site isn't requiring authorization to commit -- that is, you
> haven't put
>
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> Require valid-user
> </LimitExcept>
>
> or something similar in the <Location> directive. (See the INSTALL
> file for details.)
>
> Since no httpd requests are requiring authentication, they never
> discover who the user is, hence the "anonymous" in your logs.
>
>> Another weird thing, apache seems to ignore the authorization stuff,
>> maybe that has got something to do with it.
>
> Yup, see above :-)

Fixed it. My fsck up apache read it's config files from /usr/local/conf
instead of /usr/local/apache2/conf. Duh.

>> Here's my config, running Apache/2.0.43 (Unix) DAV/2 SVN/0.14.3
>>
>> <Location /svn/repos>
>> DAV svn
>> SVNPath /var/svn
>> AuthType Basic
>> AuthName "Subversion repository"
>> AuthUserFile "/usr/local/apache2/conf/passwd"
>> Require valid-user
>> SetOutputFilter DEFLATE
>> </Location>
>>
>> If it's a bug somewhere I'd be happy to try to debug it, but
>> I'll need some pointers.
>
> I don't know what effect the `Require' has when it's at the top level
> of a <Location> block like this (i.e., not inside a <Limit> block).
> Perhaps it has no effect?

Actually it does. It quite simply requires one to be a valid-user
for all operations. :-)

Btw, thanks for all your work.

.s

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 28 23:51:42 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.