From owner-freebsd-questions Wed May 20 18:45:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA16564 for freebsd-questions-outgoing; Wed, 20 May 1998 18:45:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.IDFW.COM ([207.86.246.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id SAA16363 for ; Wed, 20 May 1998 18:44:59 -0700 (PDT) (envelope-from frankg@idfw.com) Received: from fast1 [207.136.49.89] by mail.IDFW.COM (SMTPD32-4.03) id AD9ED8EA00C4; Wed, 20 May 1998 18:47:58 EDT Message-ID: <00a401bd845a$49431ca0$0200a8c0@fast1.dfw.com> Reply-To: "Frank Griffith" From: "Frank Griffith" To: Subject: WWWCount2.4 - Directory Headaches Date: Wed, 20 May 1998 20:46:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Okay, this calls for some patience but here goes! I am running FreeBSD 2.2.6 on a Pentium system with Apache Web Server 1.2.6. I have a another virtual server with a hosting company which offered a really cool site counter called WWWCOUNT2.4. This counter is really great, because its super configurable and will ignore repetitive hits from somebody with the same IP number just refreshing their screen over and over. If anyone wants a copy of it, let me know and I'll e-mail you a copy or make it available on my server for you to FTP. The instructions to install this counter say to cd to your home directory and then type: tar -xvf /usr/local/contrib/wwwcount.tar So I loaded the file to my FreeBSD / Apache webserver into the /usr/local/contrib directory and executed the command line above from the / directory. It unzipped okay and all looked well. But when I load my page with the script called out in it nothing happens. So I look at the error log and find that I am getting a file does not exist error. This is the actual error message: /usr/local/etc/httpd/htdocs/cgi-bin/Count.cgi failed for 192.168.0.2, reason: File does not exist The HTML code for the script in my page looks like this: This all works fine on my virtual server with iServer.com (they run BSD) The Apache server I am running at home is configured like so: ServerRoot /usr/local/etc/httpd I tried changing the HTML code to call the actual directory that Count.cgi is in, /usr/local/etc/apache_1.2.6/cgi-bin/, but the results are still the same. Can anyone help me with this problem? I really like this counter and hate to switch to anything else. Am I right in saying that /usr/local/etc/apache_1.2.6 and /usr/local/etc/httpd are the same directory? When I FTP to my server, this is what seems to be the case. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message