On 4/28/06, xiangbin <[EMAIL PROTECTED]> wrote:
Hey,
As you did not specified which linux distro you are using.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.
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 I think you should be able to view your repositories.
Regards
Ankush
Hi,all
Could anyone tell me how to set up viewcvs and apache to access the
repository via web.
Or any website that has a practices guide about this.
xiangbin
Hey,
As you did not specified which linux distro you are using.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 I think you should be able to view your repositories.
Regards
Ankush
----------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Group Ltd., its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you.
-----------------------------------------------------------------------------------------------
_______________________________________________
info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs
_______________________________________________ info-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/info-cvs
