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

Re: Subversion over http !!

From: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-01-17 09:19:32 CET

On Jan 17, 2007, at 00:40, Himanshu Raina wrote:

> HI Ryan,
> I modified the apache.conf file like this
> <Location /svn>
> DAV svn
> SVNListParentPath on
> SVNPath /usr/local/svn
> </Location>

You want SVNParentPath here, not SVNPath.

> AccessFileName .htaccess
> <Directory "/usr/local/apache2/htdocs">
> AllowOverride AuthConfig
> </Directory>
> I created soft links in /usr/local/apache2/htdocs
> repos_svn -> /usr/local/svn/repos_svn/
> svn_repos -> /usr/local/svn/svn_repos/

You should not do this; you should not have your repositories
anywhere inside your document root.

> Now if i access two different repositories it prompts me for
> password as i have created .htaccess file in both the repositories
> http://www.himanshu.com/svn_repos
> http://www.himanshu.com/repos_svn

With your <Location /svn> directive, you will access your
repositories by these URLs:


> .htacess file looks like this
> AuthName "Basic Authentication 2"
> AuthType Basic
> AuthUserFile /usr/local/apache2/htdocs/.htpasswd
> require valid-user
> The problem that i am facing as of now is "post authentication
> instead of listing the repository it gives me some human-readable
> error" Something wrong with httpd.conf which i am not able to identify

"some human-readable error"? Which one?

To reply to the mailing list, please use your mailer's Reply To All  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 17 09:19:59 2007

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

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