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

Re: Apache svn - how to customize rendering?

From: Branko Čibej <brane_at_apache.org>
Date: Mon, 11 Dec 2017 12:34:09 +0100

On 11.12.2017 11:51, Bo Berglund wrote:
> On Sun, 10 Dec 2017 16:03:30 -0500, Mark Phippard <markphip_at_gmail.com>
> wrote:
>
>>> I once installed ViewCVS on Windows servers back about 10 years ago
>>> (for CVS) and it was really not this complex to get running.
>>>
>>> I have yet to see anything at all via the Apache web server.
>>
>> I have generally just followed the ViewVC docs:
>>
>> https://github.com/viewvc/viewvc/blob/master/INSTALL
>>
> I looked at this page and found the passage:
>
> " Quick sanity check:
>
> If you just want to see what your repository looks like when seen
> through ViewVC, type:
>
> $ bin/standalone.py -r /PATH/TO/REPOSITORY
>
> This will start a tiny ViewVC server at
> http://localhost:49152/viewvc/,
> to which you can connect with your browser."
>
> So I tried it on my Ubuntu box:
>
> ~$ /usr/lib/viewvc/bin/standalone.py -r /var/lib/svn
> server ready at http://localhost:49152/viewvc
>
> Notice the "localhost" entry! This will be no good because the UBUNTU
> Server 16.04.3 does not have a GUI in which to run a web browser.

So extend your httpd configuration to proxy the ViewVC server; you'd
want to do that anyway. Something along these lines:

<Location /viewvc>
     ProxyPass http://localhost:49152/viewvc
     ProxyPassReverse http://localhost:49152/viewvc
</Location>

and don't forget to load mod_proxy and mod_proxy_http (the command is
"a2enmod" on Ubuntu).

Really, this is basic stuff that's documented with examples all over the
place. Why not read the docs first and come here with actual problems?

-- Brane
Received on 2017-12-11 12:34:17 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.