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