Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

cgi access to files not in apache 2 tree

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Bizarre Buffer response in IIS 6.0  
Author Message
jatlee

External


Since: Sep 27, 2003
Posts: 3



(Msg. 1) Posted: Sat Dec 18, 2004 9:35 pm
Post subject: cgi access to files not in apache 2 tree
Archived from groups: alt>apache>configuration (more info?)

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."

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. What do I need to add to httpd.conf to
allow a cgi script to see a CVS database in /home/...

Thanks!

 >> Stay informed about: cgi access to files not in apache 2 tree 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Sun Dec 19, 2004 7:35 am
Post subject: Re: cgi access to files not in apache 2 tree [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"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 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
need advise: apache tree - Hello, Please advise on the following apache setup: apache: conf,bin and man are local on machine A The rest including cgi-bin logs and htdocs are nfs mounted on machine B. Is that an acceptable setup? any concerns? Thanks, SM

.htaccess in directory tree - I am using .htaccess for basic authentication and have a few copies in my absolute directory tree controlling access to several virtual domains. The problem - one of them, probably misplaced, is blocking an access and I cannot identify it. If there...

how to hide the file and tree in use on server to the client - i want to know how to hide the file and tree in use on server to the client i use a isp witch name is FREE.FR. when a client comme onto a page, the browser can't see what page is in use. i want to reproduce this. thanks excuse me for my english :( ..

stop access to files - HI oh great apache world I'm building a site which is username / password access,after making this access point idiot proof i realised , i am the real idiot, once past the access point anyone can actually go straight to the next page , once they have..

Apache log files - Hi all, How do I configure Apache so that it doesn't overwrite old access_log files. At the moment it has up to 4 access_log files (access_log, access_log.1 etc). I want to set it so that it just keeps adding more log files as needed. Thanks in advance...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]