Re: [viewvc-dev] CVS with ViewVC config error
"C. Michael Pilato" <[email protected]> Wed, 14 Jan 2015 15:04:00 -0500
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <54B6CBB0.8080909__30235.0023099736$1421265865$gmane$org@collab.net> |
On 01/14/2015 02:34 PM, Nitin Thakur wrote: > Hi > > I installed httpd and viewvc via yum on RHEL. i updated the viewvc config > > ### viewvc sample configuration > #cvs_roots = cvs :/var/cvs/cvsroot > root_parents = /var/cvs/cvsroot : cvs > default_root = cvs > ScriptAlias /viewvc /var/www/cgi-bin/viewvc.cgi > ScriptAlias /query /var/www/cgi-bin/query.cgi > > > When I try to start the apache i get following error: - > > # 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 module not included in the server configuration > [FAILED] > > > Any help will be appreciated. Nitin, 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. These lines: ### viewvc sample configuration #cvs_roots = cvs :/var/cvs/cvsroot root_parents = /var/cvs/cvsroot : cvs default_root = cvs ...belong in viewvc.conf. The others (the ScriptAlias lines) are for Apache httpd, and belong in httpd.conf (where you already have them). -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Enterprise Cloud Development ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4251&dsMessageId=3094272 To unsubscribe from this discussion, e-mail: [[email protected]].