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

Re: SVNListParentPath

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-27 14:24:03 CET

On Jan 27, 2006, at 13:02, Célio Cidral Junior wrote:

>> I imagine the only possible
>> change due to appending the slash is that without it Apache could
>> theoretically attempt to serve a file called repositories instead
>> of a
>> directory should that file exist.
>
> I worked around the 403 error when the user doesn't append the slash
> by re-writing URLs. Suppose you have <Location /myrepos/>. You might
> want to include this in your httpd.conf file:
>
> LoadModule rewrite_module modules/mod_rewrite.so
>
> RewriteEngine on
> RewriteRule ^(/myrepos)$ $1/ [R]
>
> See http://httpd.apache.org/docs/2.0/misc/rewriteguide.html for
> more details.

You can do it without mod_rewrite too:

RedirectMatch ^(/myrepos)$ $1/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 27 14:26:34 2006

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.