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

svn/url redirect question

From: bruce <badouglas_at_gmail.com>
Date: Sat, 12 Mar 2011 14:11:22 -0800

Hi.

I've got a test svn/apache setup. The location block is:

<Location /aaa>
   SVNPath /apps/CollegeDir/CollegeRepository/
   SVNListParentPath On
</Location>

From the cmdline, the complete list of projects can be accessed via:

svn list file:///apps/CollegeDir/CollegeRepository/trunk/apps/CollegeRoot

A single project folder/files can be seen/accessed via

svn list file:///apps/CollegeDir/CollegeRepository/trunk/apps/CollegeRoot/proj1

The system/svn is setup to have a number of folders that can be
accessed if the user uses the url:

  http://192.168.1.1/aaa/trunk/apps/CollegeRoot/

However, I'd like to have a way for the user to simply enter something
like http://aa/project such that the httpd/apache process would
internally insert the rest of the url to resolve to getting the
correct repository content (folder/files).

I'm not sure if this is a rewrite issue, or if so, how to accomplish it.

Basically, I'm trying to have the user enter something like:

http://192.168.1.1/aaa/project1

And have it resolve to something like

  http://192.168.1.1/aaa/trunk/apps/CollegeRoot/project1

If this is a mod rewrite issue, how would I implement it given that
i'm dealing with the svn/subversion process?

Thanks
Received on 2011-03-12 23:11:52 CET

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.