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

Re: Authentication and repo-browser

From: Nicklas Norling <exinor_at_exinor.net>
Date: 2005-10-24 20:45:11 CEST

Eric Brown wrote:

> Thought I posted it, sorry. My apache error log shows a "cannot open
> .htaccess file, ensure it is readable" error message from the client
> when I try that URL; I thought the AllowOverride directive ignored all
> .htaccess files (I don't have any, BTW).
>
Seems like apache is expecting a normal webfolder on your url rather
then a svn repo.

> On 10/24/05, *Stefan Küng* <tortoisesvn@gmail.com
> <mailto:tortoisesvn@gmail.com>> wrote:
>
> Eric Brown wrote:
>
> > I'm running an svn (1.0.5) server on a Solaris 9 box, with an xp
> client
> > (tortoise 1.1.2).
>
> A little bit old. Why don't you update?
>
> > I'm having a bit of a problem getting the bloody thing to work.
> >
> > I open the repo browser and I get a 403://forbidden error message.
>
> What does the apache error log tell you?
>
> > I've got apache running as user svn and group svnadmin
> >
> > I've got recursive read/write perms through my repository
> (located at
> > /myserver/home/repos).
> >
> > Here's my httpd.conf file
> >
> > doc root /myserver/home/repos
>
I don't think this is a good idea. Why would you alow anyone to web into the
directory where repos are. Point your doc root elsewhere to begin with.

> >
> > <location /repos>
> > DAV svn
> > SVNPath /myserver/home/repos
>
This tells apache that http://your.server/repos should be handled by the DAV
using the svn module. And it also tells the svn module that it can expect to
find your repo in the /myserver/home/repos directory.

> >
> > #access policy
> > AuthzAVNAccessFile /etc/svn-access-file
>
> Is this a typo in the mail, or do you really have AutzAVNAccessFile in
> your apache config file?
> It's
> AutzSVNAccessFile, not
> AutzAVNAccessFile
>
> If that doesn't fix it, I suggest you ask on the Subversion users
> list.
> After all, you're trying to set things up on Solaris - and TSVN is
> Windows only, so we don't have experience with Solaris at all.
>
When you get apache to expect DAV svn on your url it will probably
complain about this spelling...
Mina has "AuthzSVNAccessFile /etc/httpd/conf.d/subauthz"
/Nicke

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Oct 24 20:46:31 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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