Hi Olivier,
I tried doing what you suggested but it did not help, I still get a 302. I
will post my config for this vhost so that you can see it. The thing is even
if this would have worked, it would only have worked for the parent path and
nothing under. So if I typed in the path for an actual repository I would
still have the trailing slash problem. I am not sure if I mentioned that it
does not work if I type in the full repository path as well. The rewrite
rule that is in the directory section is something that I saw on another
site as a suggestion, it does not seem to help.
Brent
<VirtualHost 192.168.1.15>
DocumentRoot /devel
ServerName repo.mansef
ServerAdmin bkiley_at_gmail_dot_com
# YaST created entry
<Directory "/devel">
Options None
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.php index.html
Options +FollowSymLinks
RewriteEngine on
RewriteBase /repo/
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ /$1/ [R]
</Directory>
<IfModule mod_dav_svn.c>
<Location /repo>
RedirectMatch ^(/repo)$ $1/
DAV svn
SVNListParentPath on
SVNParentPath /devel/repo
<LimitExcept GET PROPFIND OPTIONS REPORT>
Order deny,allow
Allow from all
</LimitExcept>
</Location>
</IfModule>
</VirtualHost>
On 5/4/07, Olivier Dagenais <olivier.dagenais@formark.com> wrote:
>
> > The problem
> > is I can not connect to the repositories using the svn client or the
> > TortoiseSVN. I believe that the problem is that both these clients
> > seem to ignore the trailing slash and get a 302 code returned and do
> > not handle the 302 code correctly. I can get this to work correctly
> > using SmartSVN.
>
> I think I have encountered this before. Does your Apache configuration
> file include something like this after the close of the "<Location /svn/>"
> section? (assuming that "svn" is the virtual directory you want to serve up
> Subversion from)
>
> # This will redirect "/svn" to "/svn/"
> # http://www.nabble.com/SVNListParentPath-t839339.html
> RedirectMatch ^(/svn)$ $1/
>
>
> HTH,
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Olivier Dagenais
> Software Engineering / Génie logiciel
> Formark - Combine the Best of SharePoint(r) and Livelink(r)
> Phone: 613-599-5173 ext 238
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Make sure you don't miss anything: subscribe to the Formark Newsletter:
> http://www.formark.com/support/register/index.asp
>
>
>
>
>
Received on Fri May 4 17:29:33 2007