 |
|
 |
When I type "http://localhost/svn/" in address bar I get a not found page When I type "http://localhost/svn/project1" in address bar I get "project1 - Revision 0: /" but cannot list the files in project1! Any reason why that happens?
thanks,
joao
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Mr. Slava,
I just want to ask if I entered a correct configuration for the SVNParentPath:
DAV svn SVNParentPath "C:/Project Files" #list repositories SVNListParentPath on # our access control policy AuthzSVNAccessFile bin/apachesvnauth
AuthType Basic AuthName "AG SVN Repository" AuthUserFile bin/apachesvnpasswd Require valid-user
My "C:/Project Files" contains all my created repositories. I am confused if I should put that or "C:/SvnRepository" (the directory where conf, db, hooks, locks are in).
Also, everytime I visit a repository via http://localhost/svn/[^], I get this error: http://www.plurkpix.com/pix/82J.png[^]
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
if you typed something like this "svnadmin create c:\project files\test1" than it means, that your svn root directory is "c:\project files" and the repository name is "test1" The error you get is caused by invalid svn root directory entry in your configuration file.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi Mr. Slava,
I didn't understand the instructions in the "Building the authentication file" step.
Does that mean that I need to create a file (without extension) that looks something like this?:
[/] * = r [C:/SvnRepository] em.dangla = rw aaron.pacaon = rw
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
You can give your authentication policy file any name. In the httpd.conf you "link" this file using AuthzSVNAccessFile.
if your repository root is c:\svnrepository and you created repository named "myrepository" than the authentication file may look like this:
[/] *=r
[myrepository:/] em.gangla=rw aaron.pacaon=rw
Slava.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
I've had Subversion set up on my home PC (running Vista) for about a week, using svnserve. I recently decided that I also wanted to run Apache to host a webserver, so I moved Subversion to Apache as well. After a couple hours of headaches, I've got things *mostly* working again, but there's one notable kink. When I try to access the repository via Tortoise, it refuses to authenticate me. Checking Apache's logs, I see that my credentials are refused. I try about 20 more times, each with the same result. I try using a web browser, and it accepts my credentials right away. I try Tortoise again. No luck. I try SVN LS. Success! I try Tortoise again. Success! Confounded, I try to reproduce this behavior from another machine. The same thing happened: my password was accepted when entered into a Web browser, rejected when entered into Tortoise...and after using the SVN command line -- which accepts my credentials -- Tortoise suddenly starts to work.
Does anyone have any idea what could be causing this weird behavior?
Thanks!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I would start from erasing cached authentication files where your password is stored. And trying again. TortoiseSVN->Settings->Saved Data-> Authentication Data (clear)
Slava.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
As a complete newbie I was caught by copying the block from the article, and apache would not start whilst the comments were on the same line as the config statements (at the end of the line). Shifted the comments onto their own lines and it worked.
~Troy
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
i know. originally comments were on different line. it just shifted somehow when i submitted the article. glad that it worked for you
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
when I followed the steps it works, but I get this:
* conf/ * dav/ * db/ * hooks/ * locks/ * test1/ * test2/
I do not think it is supposed to show anything but test1 & test2
How could I correct this problem?
Thanks!
wolfie
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
i never encountered such a problem. only test1 and test2 must be showed. which version of apache and svn are you using? it looks like svn is not running or apache ignores svn and shows svn related folders as regular ones. Does it write "Powered by Subversion version ... " at the bottom of the page?
Slava.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Apache Version: apache_2.2.4-win32-x86-openssl-0.9.8d
Subversion Version: Powered by Subversion version 1.4.3 (r23084)
They are both running.
wolfie
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
The windows version is compiled against Apache HTTP Server 2.0 and will not work with the Apache HTTP Server 2.2.
See http://subversion.tigris.org/project_packages.html. Look under the Windows NT, 2000, XP and 2003 section.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
This is what happens when you have actually created the parent directory also as a repository. My guess is that you have issued the svnadmin create c:\svnroot command.
KR
Patrick
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
My equipments apache 2.0.59 subversion 1.4.0 win2003 SP1. When I use it without authorization it works very well, but if I add the following lines:
LoadModule authz_svn_module modules/mod_authz_svn.so
I have got error message
Syntax error on line 174 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Can't locate API module structure `mod_authz_svn' in file C:/Program Files/Apache Group/Apache2/modules/mod_authz_svn.so: No error
Can you advise me somthing?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
I run WinXP I got the same errors in two cases
1. When i installed Apache 2.2 instead of Apache 2.0 2. When i misspelled the "authz_svn_module"
Check that mod_authz_svn.so is indeed in modules/ directory and the order of LoadModule is
LoadModule dav_module modules/mod_dav.so LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so
Please post a message if you manage to solve the issue and what was the cause.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Dear Mr! I have setup Apache, SubVersion, Tortoise on my computer(win2k, winxp) This is the configuration session: ---------------------------------
DAV svn SVNParentPath c:/project/
SVNListParentPath on # our access control policy AuthzSVNAccessFile C:/authz.conf # try anonymous access first, resort to real # authentication if necessary. # how to authenticate a user AuthType Basic AuthName "Subversion repository" AuthUserFile c:/truong.conf #AuthGroupFile c:/group.conf Satisfy Any Require valid-user
--------------------------- the authz.conf
[groups] test=truong
[c:\project] truong=rw
[test1:/rep1/test1] truong=rw * = r ----------------------------- username=truong
when I comment AuthzSVNAccessFile C:/authz.conf, it works ok. But I don't comment, the error appear "Forbidden You don't have permission to access /svn/rep1/ on this server."
Can you help me?
Thanks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
you don't have to specify autorization for root of your repositories [c:\project] it is enabled by "SVNListParentPath on"
next, instead of [test1:/rep1/test1] just write [test1:/] in order to assign permissions for the root of the repository test1.
it test1 has inner folders for example /folder1/trunc and you want to assign another persmissions, then add the following lines.
[test1:/folder1] truong = r
[test1:/folder1/trunc] truong = rw
[test1:/rep1/test1] means that you give permission to some rep1/test1 folder in the test1 repository.
you don't have permissions to access /svn/rep1 because you didn't assign permissions to rep1 repository or it doesn't exist.
hope it helped.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
Kisilevich Slava wrote: where have you been when i need it?
yes, you can say it....
now, next step is the use of ssl instead of simple http.....I've tryed, I've failed but I need it! heeeeelp!!!!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |