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

Re: AW: Re: Can someone help please!!

From: Himanshu Raina <raina_himanshu_at_yahoo.com>
Date: 2007-01-04 06:04:32 CET

HI Felix, Thanks for the help.Well after making changes in the Path it seems to be working. Q:- is the repository readable and writeable by the user the webserver runs under? A:- The directory svn and the repository svn_repos has the following permissions drwxrwx--- 3 root apache 4096 Dec 29 15:21 svn drwxrwx--- 7 root apache 4096 Jan 2 16:54 svn_repos Hope it won't create a problem.The apache is being run as user apache. Could you please suggest some frontend which i can use for accessing the repository completely over http schema.I tried using svnview but it didn't work.The tar was placed under /usr/local/apache2/htdocs and after untarring it the changes were made in distconfig.inc and was renamed to config.inc $config->addRepository("Test", "Path/to/repository (/usr/local/svn/svn_repos)"); Could someone help with this too or suggest some frontend for svn which can be used to do everything that is usually done over command line. thanks and regards Himanshu Raina ----- Original Message ---- From: Felix Gilcher <felix.gilcher_at_exozet.com> To: Himanshu Raina <raina_himanshu_at_yahoo.com>; users_at_subversion.tigris.org Sent: Wednesday, January 3, 2007 9:04:03 PM Subject: AW: Re: Can someone help please!! Hi, just to check the classic errors: - is the repository readable and writeable by the user the webserver runs under? - did you restart the webserver after applying the changes. You might want to get everything up and running without authentication first and then add auth and other advanced features. Detailed instructions are in the book (http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.basic). You might want to read those if you haven't done so. That said: in your first mail you stated that your repository is at "/usr/local/svn/svn_repos/". Still you're pointing "SVNPath" to "/usr/local/svn" - if I read the docs properly, SVNPath *must* point to the repository, not to the parent directory. The minimal configuration should then be: <Location /svn> DAV svn SVNPath /usr/local/svn/svn_repos/ # path to the repository </Location> With this you should be able to access your repository as "http://www.myname.com/svn";. good luck felix Himanshu Raina <mailto:raina_himanshu_at_yahoo.com> schrieb am Mittwoch, 3. Januar 2007 16:23: > Hi, > I made the said changes in httpd.conf and now it looks like this > > <Location /svn> > DAV svn > SVNListParentPath on (tried uncommenting and commenting the same) > SVNPath /usr/local/svn # our access control policy > AuthzSVNAccessFile /usr/local/svn/svn_repos/conf/svnaccessfile > # only authenticated users may access the repository Require > valid-user # how to authenticate a user > AuthType Basic > AuthName "Subversion repository" > AuthUserFile /etc/svn-auth-file > </Location> > > Post this if i access http://www.myname.com/svn > <http://www.myname.com/svn_repos> > I get the following error > > <D:error> > <C:error/> > <m:human-readable errcode="2"> > Could not open the requested SVN filesystem > </m:human-readable> > </D:error> > > (Note :- The repository is /usr/local/svn/svn_repos under > which i have a project directory called projectB) > > Please assist if at all the syntax or the config file isn't > proper.Also is there any restrictions with using > svnaccessfile if yes then can i use passwd file which is > created by default in repository., > > thanks and regards > Himanshu Raina > > ----- Original Message ---- > From: Konrad Rosenbaum <konrad_at_silmor.de> > To: users_at_subversion.tigris.org > Sent: Wednesday, January 3, 2007 7:30:11 PM > Subject: Re: Can someone help please!! > > > On Wednesday 03 January 2007 14:45, Himanshu Raina wrote: >> The svn repository is located in >> /usr/local/svn/svn_repos/ > >> SVNListParentPath on >> SVNParentPath /usr/local/svn/ -- the path to svn repository > >> Now when i give the url >> http://www.myname.com/svn_repos >> I get the following error >> >> Forbidden >> You don't have permission to access /svn_repos >> on this server. > > If this is a single repo, you should use SVNPath, not SVNParentPath. > In your current configuration the name of the repository is > http://www.myname.com/svn_repos/svn_repos > > > > Konrad > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- Felix Gilcher Head of IT Development Exozet Berlin GmbH Rotherstraße 20 10245 Berlin eMail: gilcher_at_exozet.com URL: www.exozet.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Received on Thu Jan 4 06:05:05 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.