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

Re: Logging SSL-authenticated users

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-05-14 23:34:46 CEST

martin@v.loewis.de (Martin v. L÷wis) writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
>
> > I wonder why the username field in the apache request_rec structure
> > isn't being filled in. Maybe the server just need to "require
> > valid-user"?
>
> The user name (r->user) is not set because mod_ssl simply never sets
> it. Adding "require valid-user" doesn't help because it gives the error
> message
>
> configuration error: couldn't perform authentication. AuthType not set!:

Well, try requiring basic http auth then. The name/password will go
over the encrypted SSL link. No need for a user-file, I suspect.

  AuthType Basic
  AuthName "Subversion repository"
  Require valid-user
  #### no need: AuthUserFile /usr/local/svn/userfile

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 14 23:36:35 2003

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.