Re: [viewvc-dev] CVS with ViewVC config error
Nitin Thakur <[email protected]> Wed, 14 Jan 2015 15:07:28 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Message-ID | <EDE309FC-2E15-444C-A744-431751DC6306__34664.6505794071$1421266068$gmane$org@nitindu.com> |
Hi Michael I have seen your previous comments while googling on the internet. So when = I do yum install it should configure files as per the software installation= . I did not create /etc/httpd/conf.d/viewvc.conf yum did. and if this is no= t the correct location of this file then where should it be? I am using viewvc-1.1.22-1.el6.rf.noarch thanks nitin=20 > 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= 094273 To unsubscribe from this discussion, e-mail: [[email protected]= .org].