You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by j....@redcross-transfusion.be on 2006/03/29 13:32:35 UTC

log in svn repo with browser

Hello to every one,

i just installed subversion on a linux OS and set it up with users and 
passwords, created repository
when i try access it, i can't log on it, failure, and in webbrowser i get 
the html header "forbidden"


i've included loadmodule directives and a location directive, with basic 
authentification option, 

but always get the login failure how could is olve this ?

jay


Re: log in svn repo with browser

Posted by j....@redcross-transfusion.be.
here is what my error log says

[Wed Mar 29 16:09:51 2006] [notice] child pid 13047 exit signal 
Segmentation fault (11)
[Wed Mar 29 16:09:51 2006] [notice] child pid 13251 exit signal 
Segmentation fault (11)

my repository is located in    /svn/repositories/ with the name phpapps

in /svn, i have creates 2 files for access control

.svnpasswd made using htpasswd command line tool

.svnperms containing

[groups]
admins = meessen, kaluza
viewers = drossart

[/]
* =
meessen = rw
kaluza = rw

[phpapps:/]
@admins = rw
@viewers = r


httpd.conf loadmodule directives 

LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so

and location tag in  httpd-dav.conf :

<Location /svn/>
   DAV svn
   SVNParentPath /svn/repositories
   AuthType Basic
   AuthName "Depot de donnees"
   AuthUserFile /svn/.svnpasswd
   Require valid-user
   AuthzSVNAccessFile /svn/.svnperms
</Location>



Ryan Schmidt <su...@ryandesign.com> wrote on 29/03/2006 
16.09.56:

> On Mar 29, 2006, at 15:46, Fabrizio Bottino wrote:
> 
> >> i just installed subversion on a linux OS and set it up with users 
> >> and passwords, created repository
> >> when i try access it, i can't log on it, failure, and in 
> >> webbrowser i get the html header "forbidden"
> >>
> >> i've included loadmodule directives and a location directive, with 
> >> basic authentification option,
> >>
> >> but always get the login failure how could is olve this ?
> >
> > you can't use a WEB browser to browse a SubVersioN repository
> >
> > you have to use a subversion client
> >
> > For example with TortoiseSVN use repo-browser
> > or with shell client
> > $ svn list http://hostname:port/path/to/repository
> 
> Fabrizio, of course you can use a web browser to browse a Subversion 
> repository, if it's being served with Apache2.
> 
> Jay, you should probably post the relevant portions of your config 
> files, as it's difficult to suggest a fix for this otherwise. Check 
> also if your Apache error log says anything helpful.
> 
> 

Re: log in svn repo with browser

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 29, 2006, at 15:46, Fabrizio Bottino wrote:

>> i just installed subversion on a linux OS and set it up with users  
>> and passwords, created repository
>> when i try access it, i can't log on it, failure, and in  
>> webbrowser i get the html header "forbidden"
>>
>> i've included loadmodule directives and a location directive, with  
>> basic authentification option,
>>
>> but always get the login failure how could is olve this ?
>
> you can't use a WEB browser to browse a SubVersioN repository
>
> you have to use a subversion client
>
> For example with TortoiseSVN use repo-browser
> or with shell client
> $ svn list http://hostname:port/path/to/repository

Fabrizio, of course you can use a web browser to browse a Subversion  
repository, if it's being served with Apache2.

Jay, you should probably post the relevant portions of your config  
files, as it's difficult to suggest a fix for this otherwise. Check  
also if your Apache error log says anything helpful.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: log in svn repo with browser

Posted by Fabrizio Bottino <fa...@webrainstorm.it>.
Try to look at apache error_log
tail /usr/local/apache2/logs/error_log (or wherever it is)

you should have permission problems (the most probably cause is: repository files are not readable by apache user)
  ----- Original Message ----- 
  From: j.kaluza@redcross-transfusion.be 
  To: users@subversion.tigris.org 
  Sent: Wednesday, March 29, 2006 3:57 PM
  Subject: Re: log in svn repo with browser



  i have tried $svn checkout http://localhost/svn/phpapps and after entering login information, i got these error  messages : 


  svn: PROPFIND request failed on '/svn/phpapps' 
  svn: PROPFIND of '/svn/phpapps': Could not read status line: connection was closed by server. (http://localhost) 

  where that could come from ? 



  thx 





        "Fabrizio Bottino" <fa...@webrainstorm.it> 
        29/03/2006 15.46 
       To <us...@subversion.tigris.org>  
              cc  
              Subject Re:  log in svn repo with browser 

              

       



  you can't use a WEB browser to browse a SubVersioN repository 
    
  you have to use a subversion client 
    
  For example with TortoiseSVN use repo-browser 
  or with shell client 
  $ svn list http://hostname:port/path/to/repository 
    
  Fabrizio Bottino 
  ----- Original Message ----- 
  From: j.kaluza@redcross-transfusion.be 
  To: users@subversion.tigris.org 
  Sent: Wednesday, March 29, 2006 3:32 PM 
  Subject: log in svn repo with browser 


  Hello to every one, 

  i just installed subversion on a linux OS and set it up with users and passwords, created repository 
  when i try access it, i can't log on it, failure, and in webbrowser i get the html header "forbidden" 


  i've included loadmodule directives and a location directive, with basic authentification option, 

  but always get the login failure how could is olve this ? 

  jay 


Re: log in svn repo with browser

Posted by j....@redcross-transfusion.be.
i have tried $svn checkout http://localhost/svn/phpapps and after entering 
login information, i got these error  messages :


svn: PROPFIND request failed on '/svn/phpapps'
svn: PROPFIND of '/svn/phpapps': Could not read status line: connection 
was closed by server. (http://localhost)

where that could come from ?



thx






"Fabrizio Bottino" <fa...@webrainstorm.it> 
29/03/2006 15.46

To
<us...@subversion.tigris.org>
cc

Subject
Re:  log in svn repo with browser






you can't use a WEB browser to browse a SubVersioN repository
 
you have to use a subversion client
 
For example with TortoiseSVN use repo-browser
or with shell client
$ svn list http://hostname:port/path/to/repository
 
Fabrizio Bottino
----- Original Message ----- 
From: j.kaluza@redcross-transfusion.be 
To: users@subversion.tigris.org 
Sent: Wednesday, March 29, 2006 3:32 PM
Subject: log in svn repo with browser


Hello to every one, 

i just installed subversion on a linux OS and set it up with users and 
passwords, created repository 
when i try access it, i can't log on it, failure, and in webbrowser i get 
the html header "forbidden" 


i've included loadmodule directives and a location directive, with basic 
authentification option, 

but always get the login failure how could is olve this ? 

jay 


Re: log in svn repo with browser

Posted by Fabrizio Bottino <fa...@webrainstorm.it>.
you can't use a WEB browser to browse a SubVersioN repository

you have to use a subversion client

For example with TortoiseSVN use repo-browser
or with shell client
$ svn list http://hostname:port/path/to/repository

Fabrizio Bottino
  ----- Original Message ----- 
  From: j.kaluza@redcross-transfusion.be 
  To: users@subversion.tigris.org 
  Sent: Wednesday, March 29, 2006 3:32 PM
  Subject: log in svn repo with browser



  Hello to every one, 

  i just installed subversion on a linux OS and set it up with users and passwords, created repository 
  when i try access it, i can't log on it, failure, and in webbrowser i get the html header "forbidden" 


  i've included loadmodule directives and a location directive, with basic authentification option, 

  but always get the login failure how could is olve this ? 

  jay