subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko Čibej <br...@apache.org>
Subject Re: Apache svn - how to customize rendering?
Date Mon, 11 Dec 2017 11:34:09 GMT
On 11.12.2017 11:51, Bo Berglund wrote:
> On Sun, 10 Dec 2017 16:03:30 -0500, Mark Phippard <markphip@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


Mime
View raw message