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

Re: SVNListParentPath

From: Célio Cidral Junior <ccidral.newsbox_at_gmail.com>
Date: 2006-01-27 13:02:35 CET

2006/1/6, Ximon Eighteen <ximon.eighteen@int.greenpeace.org>:
> 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.

Celio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 27 13:05:24 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.