Dale Hirt said the following on 16/09/2005 23:35:
> Robin,
>
> I'm assuming that you are using the SVNParentPath directive. Try
> setting up a separate Location block for each separate project. That
> should help you achieve your goal.
Dale,
Yes. This is my Apache config:
<VirtualHost *:80>
ServerName svn.robinbowes.com
ServerAdmin robin-svn@robinbowes.com
ErrorLog logs/svn.robinbowes.com-error_log
CustomLog logs/svn.robinbowes.com-access_log combined
DocumentRoot /home/svn/
<Directory /home/svn/>
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
</Directory>
<Location /svn>
DAV svn
# any "/svn/foo" URL will map to a repository /home/svn/foo
SVNParentPath /home/svn
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn-auth-file
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
</VirtualHost>
I am hoping to be able to set this up so that I can see a list of all my
projects at http://svn.robinbowes.com, with each project accessible at
http://svn.robinbowes.com/project1, etc.
Using separate locations won't help me with that, will it?
R.
> Dale
>
> ------------------------------------------------------------------------
> *From:* news on behalf of Robin Bowes
> *Sent:* Fri 9/16/2005 2:43 PM
> *To:* users@subversion.tigris.org
> *Subject:* svn with apache
>
> Hi,
>
> I've just in the process of setting up an svn repository to be
> accessible over the web using apache2.
>
> I've got a couple of minor niggles that I'd like to sort out.
>
> 1. I get the following message when apache starts:
>
> [Fri Sep 16 22:30:14 2005] [warn] module dav_svn_module is already
> loaded, skipping
>
> [Edit: Solved it. Looks like dav_svn_module is built-in to my apache
> version so I don't need to load it as a modile]
>
> 2. I've succesfully set up apache to serve repositories like this:
>
> http://svn.robinbowes.com/svn/project1
> http://svn.robinbowes.com/svn/project2
> etc.
>
> What I'd like to do is lose the additional "svn/" in the URL and be able
> to view my repositories like this:
>
> http://svn.robinbowes.com/project1
> http://svn.robinbowes.com/project2
> etc.
>
> I tried simply changing the Location directive as follows:
>
> from <Location /svn>
> to <Location />
>
> And this works, in that http://svn.robinbowes.com/project1 works OK but
> if I browse to http://svn.robinbowes.com I see the following message in
> my browser:
>
>
> This XML file does not appear to have any style information
> associated with it. The document tree is shown below.
>
> -
> <D:error>
> <C:error/>
> <m:human-readable errcode="2">
> Could not open the requested SVN filesystem
> </m:human-readable>
> </D:error>
>
> Furthermore, I'd like to use a custom stylesheet and if I change the
> location to "/" then the listings are unable to find their style sheets.
>
> Any ideas how I fix these two issues?
>
> Thanks,
>
> R.
--
http://robinbowes.com
If a man speaks in a forest,
and his wife's not there,
is he still wrong?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 17 09:39:38 2005