Re: [viewvc-dev] CVS with ViewVC config error

Nitin Thakur <[email protected]> Wed, 14 Jan 2015 15:18:50 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.devel
Message-ID <D3001663-29E6-4668-BD0E-32E2F12A4888__41385.2131031037$1421266743$gmane$org@nitindu.com>
Okay got the solution.=20

The repo config goes to /etc/viewvc/viewvc.conf and not in /etc/httpd/conf.=
d/viewvc.conf

Since both the files have same name its easy to make the mistake.=20

Thanks Michael for your help


Nitin

> On Jan 14, 2015, at 3:04 PM, C. Michael Pilato <[email protected]> wrot=
e:
>=20
> On 01/14/2015 02:34 PM, Nitin Thakur wrote:
>> Hi
>>=20
>> I installed httpd and viewvc via yum on RHEL. i updated the viewvc confi=
g=20
>>=20
>> ### viewvc sample configuration
>> #cvs_roots =3D cvs :/var/cvs/cvsroot
>> root_parents =3D /var/cvs/cvsroot : cvs
>> default_root =3D cvs
>> ScriptAlias /viewvc /var/www/cgi-bin/viewvc.cgi
>> ScriptAlias /query /var/www/cgi-bin/query.cgi
>>=20
>>=20
>> When I try to start the apache i get following error: -
>>=20
>> # service httpd start
>> Starting httpd: Syntax error on line 3 of /etc/httpd/conf.d/viewvc.conf:
>> Invalid command 'root_parents', perhaps misspelled or defined by a modul=
e not included in the server configuration
>>                                                           [FAILED]
>>=20
>>=20
>> Any help will be appreciated.
>=20
> Nitin,
>=20
> The error you see is due to having viewvc.conf configuration options in
> the Apache httpd.conf.  These are two separate configuration systems for
> two separate bits of software, and live in two different distinct
> configuration files.
>=20
> These lines:
>=20
> ### viewvc sample configuration
> #cvs_roots =3D cvs :/var/cvs/cvsroot
> root_parents =3D /var/cvs/cvsroot : cvs
> default_root =3D cvs
>=20
> ...belong in viewvc.conf.
>=20
> The others (the ScriptAlias lines) are for Apache httpd, and belong in
> httpd.conf (where you already have them).
>=20
> --=20
> C. Michael Pilato <[email protected]>
> CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development
>

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=3D4251&dsMessageId=3D3=
094274

To unsubscribe from this discussion, e-mail: [[email protected]=
.org].