Matthew Good wrote:
On Sat, 2006-04-01 at 15:36 -0800, Brad Fuller wrote:
  
Is there anything magic about the SVN directives working with trac?
The reason I came to my conclusion was I actually set up a couple in
httpd.conf (actually subversion.conf) and httpd didn't start up:

<Location /project1>
    DAV svn
    SVNParentPath /var/svn/project1
etc..
</Location>
    

I believe you want "SVNParentPath /var/svn" since it would appear that
"project1" is the actual repository and /var/svn is the "parent path"
where your repositories will be located.
  
right, thanks for pointing that out. That should have been SVNPath

What complicates matters is that I am using seaside on my main :80 port for the webserver. It appends a unique key to the end of the domain name for access to different areas of the site. No need to explain that, except to say that I'm using SSL for trac (which, as I said works fine now.)

So, to access the svn repos I'll need to use another virtualhost on another port. but, I'm still getting the 301 error. Here's what I have, very simple:

<VirtualHost *:8000>
    DocumentRoot /var/svn
    ServerName my.domain.com
    <Location /project1>
         DAV svn
         SVNPath /var/svn/project1
    </Location>
</VirtualHost>

I can get to the repo from a web browser by:
   http://my.domain.com:8000/project1

But, curiously I get this when trying to checkout via svn:
   svn: PROPFIND request failed on '/project1
   svn: PROPFIND of '/project1': 301 Moved Permanently (http://my.domain.com:8000)






   


_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to