[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-10-28 22:53:58 CET

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 :-)

> 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?

-K

---------------------------------------------------------------------
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:25:35 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.