info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in configuring ViewVC : cvs is not found


From: ankush grover
Subject: Re: Error in configuring ViewVC : cvs is not found
Date: Tue, 2 May 2006 22:10:36 +0530



On 2 May 2006 07:32:32 -0700, rohit <address@hidden> wrote:
Hi,

I am trying to set up ViewVc (formally View CVS) for my repositories.
After all configurations of ViewVc, apache, cvsgraph, Apache is running
fine, but when i am trying to run viewvc.cgi, i am getting following
error.
 
Hey,

I am using Fedora Core 3 and I have configured viewcvs 0.9.3.
 
Put these lines in httpd.conf file or create a file viewcvs.conf under /etc/httpd/conf.d (if you are using redhat )

Viewcvs requires python module for apache.
 
 
ScriptAlias /viewcvs "/usr/local/viewcvs-0.9.3/cgi/viewcvs.cgi"
<location /viewcvs>
   AddHandler python-program .py
   PythonPath "['/usr/local/viewcvs-0.9.3/lib']+sys.path"
   PythonHandler apache
   PythonDebug On
</location>


in /usr/local/viewcvs directory edit the file viewcvs.conf


and change the cvs_roots = cvs: /pathtoyourrepositories

      for example all my repositories are under the directory /repo

      so my cvs_roots will be   cvs_roots = cvs:   /repo

make sure apache is able to read the repositories under this directory

chown -R apache /repo


set the   default_root = cvs


Restart the apache and you should be able to view your repositories.

 Regards

Ankush
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]