httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Galić <i.ga...@brainsware.org>
Subject Re: [users@httpd] Help with Apoache config to support Subversion
Date Wed, 09 Feb 2011 17:42:01 GMT


----- Original Message -----
> Hello, I am finishing up my configuration for Apache/SVN and have one

Generally we recommend users@subversion.apache.org for subversion
related problems, but in this case I guess the fix is easy.

> last authorization quandary. I am on Ubuntu 10.04 with LAMP, SVN and
> Eclipse comprising my dev environment. I have everything installed,
> config'd and running except the last SVN configuration for
> authorization. I have the Eclipse plugins installed for Subversive
> and I
> can connect to the SVN repo I have created, I get challenged and
> provide
> my user/pass, but get bounced with the following message.
> 
> [Tue Feb 08 06:08:16 2011] [error] [client 127.0.0.1] access to /SVN
> failed, reason: require directives present and no Authoritative
> handler.
> 
> I have a password file I created with htpasswd. It seems to be
> hitting
> this file because I can pass a bad username and it will come back
> with
> user not found. If I use my username it will ask for a password, but
> will fail as above. I have the following modules loading
> dav_svn.load
> dav_svn.conf
> 
> 
> Here is my httpd.conf
> ##
> ## httpd.conf
> ##
> DocumentRoot "/var/www"
> #
> Servername "superglts"
> #
> Alias /SVN /home/apesa/Development/SVN
> #
> <Directory /home/apesa/Development/SVN>
> AllowOverride All
> DAV svn
> Order allow,deny
> Allow from all
> </Directory>
> #
> #
> <Location /SVN>
> DAV svn
> SVNListParentPath on
> SVNParentPath "/SVN"
> AuthName "SVN"
> AuthType Basic
> SVNPathAuthz off
> AuthBasicProvider file
> AuthUserFile "/home/apesa/Development/passwords"
> Require valid_user

http://httpd.apache.org/docs/current/mod/core.html#require

Note how it's "Require valid-user", not "Require valid_user"


> </Location>
> 
> Any help or pointers are appreciated,
> Thanks,
> Pat

i

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message