"Joseph McCarty" <jatlee.DeleteThis@sonic.net> schreef in bericht
news:6v4xd.13161$_3.148030@typhoon.sonic.net...
> On a Fedora Core 2 box, I have Apache 2 running a perl cgi script (cvsweb)
> in /cgi-bin/. cvsweb should display the contents of a CVS repository in
> /home/rancid/CVS on a web page.
>
> Pointing my browser at http:/foo.org/cgi-bin/cvsweb.cgi, I draw an error
> message, "Error: No valid CVS roots found! See @CVSrepositories in the
> configuration file (/etc/cvsweb/cvsweb.conf)."
>
> log/httpd/error_log states, "Root '/home/rancid/var/rancid/CVS' defined in
> @CVSrepositories is not a directory, entry ignored at
> /var/www/cgi-bin/cvsweb.cgi line 491."
BTW, that's not the most recent version (3.0.4).
> The repository is is inded at the location specificed, and is functional.
> The error isn't "permission denied," it's that cvsweb.cgi can't even see
> the directory /home/rancid/CVS.
The pathes logged '/home/rancid/var/rancid/CVS' and specified
'/home/rancid/CVS' are _not_ the same.
> What do I need to add to httpd.conf to
> allow a cgi script to see a CVS database in /home/...
Probably nothing ...
Most likely the user running the apache -or CGI- process is not granted
access to the folder '/home/rancid/var/rancid/CVS'.
HansH<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: cgi access to files not in apache 2 tree