Re: [viewvc-users] Pulling My Hair... This Should Work...
"C. Michael Pilato" <[email protected]> Tue, 30 Jun 2015 09:18:10 -0400
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <55929712.9090903__2513.90885464406$1435670319$gmane$org@collab.net> |
Capt., I think the source of all your trouble is that you've configured
Apache's "/viewvc" <Location> to be a Subversion location. All that
"DAV svn" and "SVNParentPath" stuff inside your <Location /viewvc>
block? That stuff tells Apache to route all requests to that location
to Subversion's mod_dav_svn. That means ViewVC is never even seeing
those requests, and consequently, stuff isn't working for you.
Keep your <Location /repos> block as it is, and either drop the
<Location /viewvc> block, or at least remove the Subversion directives
that are from Subversion. Maybe pare it back to just enough to require
that your ViewVC users authenticate. Something like this:
<Location /viewvc>
# how to authenticate a user
AuthType Basic
AuthName "Repository Authorization Required"
AuthUserFile /etc/apache2/dav_svn.passwd
Require valid-user
</Location>
On 06/28/2015 01:16 PM, Capt Morgan wrote:
> I've attached the following files with slight edits for privacy.
> -/etc/apache2/sites-available/default
> -/etc/apache2/dav_svn.authz (removed working name:paths)
> -/usr/local/viewvc-1.1.23/viewvc.conf
>
> With my configuration I am able to use TortoiseSVN to checkout and commit on domain.com/repos.
>
> With browser (Chrome), I am able to browse the standard/default subversion at domain.com/repos & domain.com/viewvc. This means that domain.com/viewvc does not work in terms of taking the user to the functioning default page of viewvc when installed.
>
> I attempted to install & configure viewvc with apt-get with the same configuration, changing paths where required to no avail.
>
> The server is a dedicated, remote VPS and veiwvc-standalone ran from the command line over SSH says it's running. But I try to go to ip-address:port/viewvc I get a not found page.
>
> With this configuration, if I attempt to go to domain.com/viewvc/viewvc.cgi, I get the following from /var/log/apache2/error.log:
> Sun Jun 28 13:10:47.402684 2015] [dav:error] [pid 18277] [client /ip removed/] Could not fetch resource information. [500, #0]
> [Sun Jun 28 13:10:47.402710 2015] [dav:error] [pid 18277] [client /ip removed/] Could not open the requested SVN filesystem [500, #2]
> [Sun Jun 28 13:10:47.402715 2015] [dav:error] [pid 18277] [client /ip removed/] Could not open the requested SVN filesystem [500, #2]
>
> I've been at this for almost four days, troubleshooting and started from scratch at least 3 times, including just before I sent this request for assistance. I've gotten ViewVC to work in the past, on a different machine(s), but have yet to get it to work on this one. I attempted to keep the configurations almost identical - coming from a known working viewvc server, should prove something is wrong with this current server.
>
> Any ideas?
>
> I appreciate your time in reading this and helping me. Thank you sincerely.
> -Capt.
>
> ------------------------------------------------------
> http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3124938
>
> To unsubscribe from this discussion, e-mail: [[email protected]].
--
C. Michael Pilato <[email protected]>
CollabNet <> www.collab.net <> Enterprise Cloud Development
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3125244
To unsubscribe from this discussion, e-mail: [[email protected]].