Date: Wed, 20 May 1998 20:46:33 -0500 From: "Frank Griffith" <frankg@idfw.com> To: <freebsd-questions@FreeBSD.ORG> Subject: WWWCount2.4 - Directory Headaches Message-ID: <00a401bd845a$49431ca0$0200a8c0@fast1.dfw.com>
next in thread | raw e-mail | index | archive | help
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: <img src="/cgi-bin/Count.cgi?df=home.dat&dd=D&comma=T&frgb=fccc38" align=absmiddle> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00a401bd845a$49431ca0$0200a8c0>