[Top][All Lists]

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

RE: cvsweb

From: Furmaniuk, Michael
Subject: RE: cvsweb
Date: Thu, 28 Jun 2001 13:40:23 -0400

  Some relevant settings to make sure you have:

>From my Apache httpd.conf:

Script Alias needs to be turned on - uncommented.
    ScriptAlias /cgi-bin/ "/usr/local/apache/htdocs/"

And your Options for the directory mentioned in ScriptAlias needs to include
    <Directory "/usr/local/apache/htdocs/">
        AllowOverride None
        Options Indexes Multiviews ExecCGI
        Order allow,deny
        Allow from all

After you make the changes in httpd.conf you should probably restart the web
server, to make sure the changes take effect.

Within the main cvsweb.cgi file is a variable for the config file, this
needs to be set to the directory path where you have cvsweb installed, if
you have it all in the same directory.  Which I do.

$config = $ENV{'CVSWEB_CONFIG'} ||

The cvsweb.conf file needs to have the repositories set up by directory
            'RelEng' => '/usr/local/CVS/RelEng'

$cvstreedefault should be set to the most used repository if you have more
than one, or whatever you have under %CVSROOT if you only have one.

...I think the rest of the settings are fairly simple, but this should get
you started.

>Using the browser I can get to the top of that file system ... It says "HP
>Apache-based Web Server" at the top of the page.  To start the script, in
>the location bar of the browser I typed every permutation I could think of
>from http://pilot/cvsweb.cgi to the absolute complete path with port number
>I get two types errors: 404 and forbidden.

  Looks like the httpd.conf file is not set up correctly, and you should not
need to :80 on the URL at all, that's assumed by http by default.

>Not Found
>The requested URL /opt/apache/cgi-bin/cvsweb.cgi was not found on this
>Apache/1.3.14 Server at pilot Port 80

  Looks like the document path is not set for this directory.

>doing it all wrong.  Perhaps it's how apache is set up but the sysadmin
>not know how to do anything to apache and neither do I.   Do I have to
>an html page and put it in htdocs to get it to run?  How does one reference
>a cgi script from within html?

  If you just access the script it will display a page listing your
repositories, I made it work fairly quickly, and I am not a sysadmin but I
know my way around setting up web directories in Apache.  It's fairly easy
to learn, and can help you out when telling your sysadmin what he is not
doing right for you.

  You can also check the error logs for apache, there should be a logs
directory in the apache installation directory.  Mine is under

  Hope that helps!


reply via email to

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