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

RE: Subversion page shows physical directories instead of svn repo directories

From: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: Tue, 8 Dec 2009 10:24:16 +1100

Hi Boris,
 
http://httpd.apache.org/docs/2.2/mod/core.html#documentroot
<http://httpd.apache.org/docs/2.2/mod/core.html#documentroot>
<http://httpd.apache.org/docs/1.3/mod/core.html#documentroot>
 
Above is a link to a description of Document Root directive.
 
I don't believe using Document Root is the correct approach. A problem
could arise when you have multiple projects.
 
Let me know if you need further assistance.
 
Thanks
Lakshman

________________________________

From: Boris Goykhman [mailto:Boris_Goykhman_at_condenet.com]
Sent: Tuesday, 8 December 2009 5:39 AM
To: Srilakshmanan, Lakshman
Cc: users_at_subversion.tigris.org
Subject: Re: Subversion page shows physical directories instead of svn
repo directories

I figured it out by leaving only <Location> portion in and changing
DocumentRoot to /data02/scm/svn/repos/sites

On 12/7/09 1:11 AM, "Srilakshmanan, Lakshman"
<lakshman.srilakshmanan_at_police.vic.gov.au> wrote:

        Hi Boris,
        
        Are you using the same userid for the Apache daemon and for
creating the sites repository. If you used different userids then, for
the purpose of testing, could you chmod -R 777
/data02/scm/svn/repos/sites
        
        Remove Alias /svn/sites /path/to/svn/dir
        Thanks
        Lakshman
        
________________________________

        From: Boris Goykhman [mailto:Boris_Goykhman_at_condenet.com]
        Sent: Thursday, 3 December 2009 1:45 AM
        To: Srilakshmanan, Lakshman
        Cc: users_at_subversion.tigris.org
        Subject: Re: Subversion page shows physical directories instead
of svn repo directories
        
        Conf and db are there, but dav is not.
        
        
        On 12/1/09 7:49 PM, "Srilakshmanan, Lakshman"
<lakshman.srilakshmanan_at_police.vic.gov.au> wrote:
        
        

                Firstly, could you please confirm, under
/data02/scm/svn/repos/sites you have directories like conf, dav, db etc
                
                 
                
________________________________

                From: Boris Goykhman
[mailto:Boris_Goykhman_at_condenet.com]
                Sent: Wednesday, 2 December 2009 11:19 AM
                To: Srilakshmanan, Lakshman
                Cc: users_at_subversion.tigris.org
                Subject: Re: Subversion page shows physical directories
instead of svn repo directories
                
                Yes.
                
                Actually at first, I had this in httpd.conf:
                LoadModule dav_svn_module modules/mod_dav_svn.so
                LoadModule authz_svn_module modules/mod_authz_svn.so
                ...
                <Location /svn/sites>
                   DAV svn
                   SVNPath /data02/scm/svn/repos/sites
                
                </Location>
                
                But then, I was getting this error: (13)Permission
denied: access to /svn/sites denied
                
                So I changed it to:
                
                LoadModule dav_svn_module modules/mod_dav_svn.so
                LoadModule authz_svn_module modules/mod_authz_svn.so
                ...
                Alias /svn/sites /path/to/svn/dir
                <Directory /svn/sites>
                   Options All
                   DAV svn
                   SVNPath /data02/scm/svn/repos/sites
                </Directory>
                
                and started getting the above problem.
                
                On 12/1/09 6:58 PM, "Srilakshmanan, Lakshman"
<lakshman.srilakshmanan_at_police.vic.gov.au> wrote:
                
                 
                

                        Hi Boris,
                        
                        Did you LoadModule mod_dav_svn.so and provide a
Location directive to /svn
                        
                        Thanks
                        Lakshman
                        
                         
                        
________________________________

                        From: Boris Goykhman
[mailto:Boris_Goykhman_at_condenet.com]
                        Sent: Wednesday, 2 December 2009 10:12 AM
                        To: users_at_subversion.tigris.org
                        Subject: Subversion page shows physical
directories instead of svn repo directories
                        
                        Hi
                        
                        I am setting up an SVN repo (Collabnet
distribution v. 1.5.1) behind Apache 2.2.8 (included with SVN
distribution) on RedHat EL 5 and running into an issue where webpage
for apache does not actually show what's stored in svn repo, but
instead simply shows physical directories, like conf, db, hooks, etc.

                        
                        Everything works fine via svnserve. Also, it
does seem like apache properly loads mod_dav_svn, because it is listed
as a shared module if I run 'http -M' and conf syntax is OK. One thing
to note is RedHat EL 5 is 64-bit, but both CollabNet 1.5.1
distribution and embedded Apache are both 32 bit.
                        
                        If anyone has any idea what the problem may
be, please share your advice.
                        
                        Thanks
                        Boris
                        
                         
                         
                        
________________________________

                        This e-mail, including attachments, is intended
for the person(s) or company named and may contain confidential and/or
legally privileged information. Unauthorized disclosure, copying or
use of this information may be unlawful and is prohibited. If you are
not the intended recipient, please delete this message and notify the
sender.
                        

                
                 
                
________________________________

                This e-mail, including attachments, is intended for the
person(s) or company named and may contain confidential and/or legally
privileged information. Unauthorized disclosure, copying or use of this
information may be unlawful and is prohibited. If you are not the
intended recipient, please delete this message and notify the sender.
                

        
        
________________________________

        This e-mail, including attachments, is intended for the
person(s) or company named and may contain confidential and/or legally
privileged information. Unauthorized disclosure, copying or use of this
information may be unlawful and is prohibited. If you are not the
intended recipient, please delete this message and notify the sender.
        

________________________________

This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended
recipient, please delete this message and notify the sender.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2428026

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-08 00:25:56 CET

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.