[viewvc-users] Page Load Error - Can't get ViewVC to work on Apache

Dan King <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <882491.79882.qm__37377.4637737826$1253712812$gmane$org@web112223.mail.gq1.yahoo.com>
Hi,

I can't get viewvc to work with apache. Following are the configuration steps I took, if anyone sees a mistake or something I missed please let me know. Thanks.

1.  Set cvs_roots = cvsroot: /var/cvs_repos
2.  Set root_parents = /var : cvs
3.  Set default_root = cvsroot
4.  Set rcs_dir = /usr/bin/rcs/
5.  Set root_as_url_component = 1 
6.  Copied handler.py, query.py and viewvc.py to /var/cvs_repos (which is the repo directory being served by Apache)
7.  Added the following to apache2.conf file:

<Location "serverip:port">
             AddHandler mod_python .py
             PythonHandler .py
             PythonDebug On
             DocumentRoot /var/cvs_repos
             
             <Directory /var/cvs_repos>
                     AllowOverride All
             </Directory>
 </Location>

8. Restarted apache
9. Gotourl http://servername:port/viewvc/cvsroot/practice
* cvsroot is the rootname
* practice is the module

-Dan

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2398546

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.