Installing ViewVC / ViewCVS on Windows for Apache

Moderator: devguy

Installing ViewVC / ViewCVS on Windows for Apache

Postby devguy » Thu Dec 16, 2004 2:10 pm

You must have your Apache server and CVSNT server running on the same machine.

1. Install ActivePython 2.3.4 - http://www.activestate.com/Products/ActivePython/ with the Windows extensions

2. Install CVSNT - http://www.cvsnt.org

3. Download ViewCVS for Windows - http://russ.hn.org/viewcvs/ and extract it

4. Go to the extract directory using command-line (cmd.exe)

5. Run the following command:
python viewcvs-install

6. Edit the viewcvs.conf file in the installation directory. Change the following things:

* cvs_roots
* default_root
* cvsnt_exe_path = C:\Program Files\cvsnt\cvs.exe (example)

7. Copy c:\Program Files\viewcvs-1.0-dev\web\cgi\viewcvs.cgi to C:\Program Files\Apache Group\Apache2\cgi-bin

8. Go to http://localhost/cgi-bin/viewcvs.cgi and enjoy
Last edited by devguy on Thu Feb 21, 2008 7:45 am, edited 3 times in total.
devguy
Site Admin
 
Posts: 1247
Joined: Mon Dec 02, 2002 11:52 am
Location: Palo Alto, USA

Postby devguy » Thu Dec 29, 2005 3:48 pm

Hello,

Is cvs.exe in your path?
devguy
Site Admin
 
Posts: 1247
Joined: Mon Dec 02, 2002 11:52 am
Location: Palo Alto, USA

Postby devguy » Fri Dec 30, 2005 10:01 am

Is it in the SYSTEM path?

The user that is running the apache httpd service might not have permissions to run cvs.exe or (more likely) cmd.exe.
devguy
Site Admin
 
Posts: 1247
Joined: Mon Dec 02, 2002 11:52 am
Location: Palo Alto, USA

Postby devguy » Mon Oct 22, 2007 4:30 pm

cvs_boer writes:

For me this was the solution:

add in the viewcvs.conf
cvsnt_exe_path = C:\Program Files\..\..\cvs.exe
So it couldn't find the var "cvsnt_exe_path "
First I tried in the global var of the machine
devguy
Site Admin
 
Posts: 1247
Joined: Mon Dec 02, 2002 11:52 am
Location: Palo Alto, USA


Return to ViewVC / ViewCVS and CVSWeb

Who is online

Users browsing this forum: No registered users and 0 guests

cron