Re: [viewvc-users] Errors
"C. Michael Pilato" <[email protected]> Mon, 16 Feb 2015 09:36:51 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
------=_Part_4376_1023839926.1424097417134
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
On 02/13/2015 02:57 PM, Ryan Milton wrote:
> I have installed viewvc before...used with a rancid installation.
>
> At this point, I cannot get it working, I first was getting a 403
> error, now I get a 404 error.
>
> cvs_roots = network: /usr/local/rancid/var/CVS/network/
> root_parents = /usr/local/rancid/var/CVS : cvs
You should not have both of these defined. Use one or the other. Now,
in your specific situation, I don't think this will cause your 404, but
I would suggest setting root_parents to an empty value ("root_parents
=") and leaving cvs_roots set the way your currently have it.
> I am pointing to the correct directory.(from FAQ: CVS repositories are
> directories trees filled with files that end with "|,v|".)
>
> I added, hopefully, in the apache2.config
>
> ScriptAlias /viewvc /usr/lib/viewvc/cgi-bin/viewvc.cgi
> <Location> "/viewvc">
I would expect this to be, actually, <Location "/viewvc">. Otherwise,
Apache probably won't even start. (Typo?)
> AuthType Basic
> AuthName "Networking Repository"
> AuthUserFile /etc/apache2/.htpasswd
> Require valid-user
> </Location>
In addition to the above, you'll want to double-check all your
filesystem-level pemissions, ensuring that the Apache/ViewVC user has
permission to traverse the CVS repository directories and read the ,v
files, etc.
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3099035
To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_4376_1023839926.1424097417134
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type=
">
</head>
<body bgcolor=3D"#FFFFFF" text=3D"#000000">
<div class=3D"moz-cite-prefix">On 02/13/2015 02:57 PM, Ryan Milton
wrote:<br>
</div>
<blockquote
cite=3D"mid:CALkFdAwaX=3DGGKUmOLoqAF=3DHO3bqFYRp88+=3DDAfHaNuDk-Yj0Qg@mail.=
gmail.com"
type=3D"cite">
<div dir=3D"ltr">I have installed viewvc before...used with a rancid
installation.
<div><br>
</div>
<div>At this point, I cannot get it working, I first was getting
a 403 error, now I get a 404 error.</div>
<div><br>
</div>
<div>
<div>
<div>cvs_roots =3D network: /usr/local/rancid/var/CVS/network/<=
/div>
</div>
<div>root_parents =3D /usr/local/rancid/var/CVS : cvs</div>
</div>
</div>
</blockquote>
<br>
You should not have both of these defined.=C2=A0 Use one or the other.=
=C2=A0
Now, in your specific situation, I don't think this will cause your
404, but I would suggest setting root_parents to an empty value
("root_parents =3D") and leaving cvs_roots set the way your currently
have it.<br>
<br>
<blockquote
cite=3D"mid:CALkFdAwaX=3DGGKUmOLoqAF=3DHO3bqFYRp88+=3DDAfHaNuDk-Yj0Qg@mail.=
gmail.com"
type=3D"cite">
<div dir=3D"ltr">
<div>
<div>I am pointing to the correct directory.(from FAQ:=C2=A0<span
style=3D"font-family:Optima,Segoe,'Segoe
UI',Candara,Calibri,Arial,sans-serif;font-size:15.8400001525879px;line-heig=
ht:25.6000003814697px">CVS
repositories are directories trees filled with files that
end with "</span><code
style=3D"font-size:13.513500213623px;font-style:italic;line-height:25.60000=
03814697px">,v</code><span
style=3D"font-family:Optima,Segoe,'Segoe
UI',Candara,Calibri,Arial,sans-serif;font-size:15.8400001525879px;line-heig=
ht:25.6000003814697px">".)</span></div>
<div>
<div class=3D"gmail_signature">
<div dir=3D"ltr"><br>
</div>
<div>I added, hopefully, in the apache2.config</div>
<div><br>
</div>
<div>
<div>ScriptAlias /viewvc
/usr/lib/viewvc/cgi-bin/viewvc.cgi</div>
<div><Location> "/viewvc"></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
I would expect this to be, actually, <Location "/viewvc">.=C2=A0
Otherwise, Apache probably won't even start.=C2=A0 (Typo?)<br>
<br>
<blockquote
cite=3D"mid:CALkFdAwaX=3DGGKUmOLoqAF=3DHO3bqFYRp88+=3DDAfHaNuDk-Yj0Qg@mail.=
gmail.com"
type=3D"cite">
<div dir=3D"ltr">
<div>
<div>
<div class=3D"gmail_signature">
<div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 AuthType Basic</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 AuthName =C2=A0"Networking=
Repository"</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 AuthUserFile /etc/apache2/=
.htpasswd</div>
<div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 Require valid-user</div>
<div></Location></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
In addition to the above, you'll want to double-check all your
filesystem-level pemissions, ensuring that the Apache/ViewVC user
has permission to traverse the CVS repository directories and read
the ,v files, etc.<br>
</body>
</html>
------=_Part_4376_1023839926.1424097417134--