[Top][All Lists]

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

Re: cvsweb

From: Daniel Beckham
Subject: Re: cvsweb
Date: Thu, 28 Jun 2001 11:26:50 -0500

----- Original Message -----
From: "Schwenk, Jeanie" <address@hidden>
To: <address@hidden>
Cc: <address@hidden>
Sent: Thursday, June 28, 2001 11:03 AM
Subject: Re: cvsweb

> If I had more than a one day of experience with web servers or cgi scripts
> might have a clue.  The sysadmin doesn't know how to run a cgi script
> either.  I know, I know, don't get me started.

It's very possible that the problem has everything to do with running cgi
scripts on your web server and nothing to do with cvsweb.  You may not be
able to run any cgi scripts, much less cvsweb.  Again though.. fire the
sysadmin if you can.  Or at least recommend it.

> It is quite possible I don't understand the basics.  Usability issue?
> likely.

You may consider either hiring someone who knows the basics to do this for
you, or learning more about the apache server, cgi scripting, etc.  It would
probably do you good in the future.

> The server is not smoking but there is smoke coming from my cube due to a
> high level of frustration and lack of resources.

=)  Glad you saw the joke.

> 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
> http://pilot:80//opt/apache/cgi-bin/cvsweb.cgi

Yes, if you put the script in the cgi-bin directory, you would probably
access it by going to :


Is pilot a valid host name?  Are you trying to access the server from a web
browser that's running on the same machine as the apache server?  If you
aren't, pilot might not be a valid hostname.

> I get two types errors: 404 and forbidden.

> Forbidden
> You don't have permission to access /cgi-bin/cvsweb.cgi on this server.
> Apache/1.3.14 Server at pilot Port 80

Ok.. pilot is a valid hostname then. =)  It looks like your apache server is
not configured to run cgi scripts.

Try this.. look in your httpd.conf file and make sure the following is not
commented out.  Comments in apache conf files have # in front of them.

ScriptAlias /cgi-bin/ "/usr/local/apache/cgi-bin/"

Of course, your line will have whatever your cgi-bin path is, instead of

Now, go down some in the file and make sure the following lines are not
commented out:

AddType application/x-httpd-cgi .cgi
AddHandler cgi-script .cgi

They both should be there in a stock apache configuration file.  Especially
make sure the AddHandler directive is not commented out.  Restart apache and
try the url again.

Just for kicks.. this really has nothing to do with cvs or cvsweb and you
really should be asking these in some sort of Apache or cgi related mailing
list.  Although some of the people here work with the Apache webserver on a
regular basis, many don't and wouldn't be able to help you.

Also, if I might suggest again.. ViewCVS is a better product:  They even have a mailing list where you
could ask these types of questions.  cvsweb doesn't seem to be as well
supported.  These are my opinions though... take them for what you will.


reply via email to

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