Re: Help with Apoache config to support Subversion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

Generally we recommend users@xxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux