From: Arch W. <ar...@tu...> - 2007-07-09 00:39:09
|
That worked...thanks! -----Original Message----- From: Curt Grimley [mailto:Curt@CMGrimley.net] Sent: Sunday, July 08, 2007 3:05 PM To: Arch Willingham Cc: bac...@li... Subject: Re: [BackupPC-users] Install config questions Arch Willingham wrote: > I installed Backup PC 3.0 a while back. I remember going through a lot = of websites trying to get it configured but it worked. That machine is = no longer available and I am trying to install it again (Fedora FC7). In = going through the install script, I have run into a couple places I = don't understand. > > * CGI bin Directory - Instructions say "You should decide where the = BackupPC CGI script resides. This will usually be below Apache's cgi-bin = directory." but where is "Apache's cgi-bin directory"? How do I find it? = I did a search for "cgi-bin" and found one at "/var/www/cgi-bin"...is = that it?? > * Apache image directory - Instructions say "A directory where = BackupPC's images are stored so that Apache can serve them. This should = be somewhere under Apache's DocumentRoot directory.". Again, where is = "Apache's DocumentRoot directory"? > > =20 Hi Arch, I don't know about Fedora Core 7, but generally there are two flavors of = Apache, version 1 & 2. You can learn about the different versions = here: http://httpd.apache.org/ First you should review your FC7 installation to make sure Apache is=20 installed, this might not happen if you chose a "workstation"=20 configuration over a "server" configuration during installation.=20 More specifically, you need to investigate the configuration of your=20 apache installation. You will be looking into the contents of a file=20 called httpd.conf. Here is a good basic description of apache=20 configuration... a description of the various directories will be found=20 about 60% of the way into the article. = http://www.onlamp.com/pub/a/apache/2000/03/02/configuring_apache.html The "DocumentRoot" directory is the place that represents the main=20 directory ( / ) on your web server and is accessible as=20 "http://myserver/" through your browser. An "image" directory would be=20 located in that directory, and accessible as "http://myserver/image"=20 through your browser.=20 If your installation is new, it is possible that you may have to create=20 an image directory within the document root directory. The cgi-bin location is indicated by a "ScriptAlias" directive. You will need to inspect your apache configuration file (httpd.conf) to=20 confirm these things. If /var/www is your server's main directory (called "ServerRoot" as=20 opposed to "DocumentRoot"), it probably is organized like this, with=20 respect to your questions: /var/www/cgi-bin/ ScriptAlias /var/www/htdocs/ Document Root /var/www/htdocs/image A directory that can be used to store image=20 files. (The name of the directory isn't important, it is just=20 where YOU want the image files stored.) ~ Curt |