Re: [viewvc-users] Page Load Error - Can't get ViewVC to work on Apache
Sandy Pérez <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <736064255.20090923154336__27973.8256628209$1253713444$gmane$org@yahoo.es> |
Hello Dan,
I access ViewVC throught Apache and it works for me. My apache configuration is as follows:
...
LoadModule python_module modules/mod_python.so
<Directory VIEWVC_INSTALLATION_DIR/bin/mod_python>
AddHandler mod_python .py
PythonHandler handler
PythonDebug On
PythonOption PYTHON_EGG_CACHE /tmp
Order allow,deny
Allow from all
AllowOverride All
</Directory>
ScriptAlias /viewvc /usr/local/viewvc-1.2-dev/bin/mod_python/viewvc.py
...
I hope it also works for your.
Regards,
Sandy
> 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]].
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2398888
To unsubscribe from this discussion, e-mail: [[email protected]].