Date: Fri, 23 Aug 2002 20:31:10 +0200 From: "Patrick O'Reilly" <bsd@perimeter.co.za> To: sroberts@dsl.pipex.com Cc: "Moti Levy" <moti@flncs.com>, "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: Available webserver (apache) monitor / log analyzer Message-ID: <00c401c24ad3$42c421a0$0200000a@perimeter.co.za> References: <1029962112.5163.38.camel@Demon.vickiandstacey.com><003401c24953$9deb9350$fd 6e34c6@moti><1029965360.5163.50.camel@Demon.vickiandstacey.com><006b01c24976$4c3c3d20$f901a8c0@win><1030124568.5163.62.camel@Demon.vickiandstacey.com> <007001c24ace$0a542400$0200000a@perimeter.co.za> <1030126193.5163.73.camel@Demon.vickiandstacey.com>
next in thread | previous in thread | raw e-mail | index | archive | help
From: "Stacey Roberts" <stacey@Demon.vickiandstacey.com> > Hi Patrick, > Thanks for getting back to me. > > I installed this thing from ports, and after reading the guidelines at: > > http://www.angelfire.com/scifi/danilody/webalizer/unixlinux.html > > That says > 1. The Webalizer Home Directory should be: /html/webalizer > 2. The Web Hit Report Home Directory should be: > /html/webalizer/name_of_website > or > /location_of_document_root/report > 3. The Web Hit Report URL is: http://www.name_of_website.com/report > > I'm a bit concerned that this this port does the installation somewhat > differently than what's mentioned at the site. Stacey, the docs are about right, but you don't need to literally use the path names they give as samples. For a start - this is my virtualhost entry in httpd.conf: --- <VirtualHost *> ServerName docs.perimeter.co.za DocumentRoot /peri/www/docs.perimeter.co.za ErrorLog /peri/www/.log/docs.perimeter.co.za_error.log CustomLog /peri/www/.log/docs.perimeter.co.za_access.log common </VirtualHost> <VirtualHost *> ServerName webalizer.perimeter.co.za DocumentRoot /peri/www/webalizer.perimeter.co.za ErrorLog /peri/www/.log/webalizer.perimeter.co.za_error.log CustomLog /peri/www/.log/webalizer.perimeter.co.za_access.log common </VirtualHost> --- 1. Instead of "/html/webalizer" I used "/peri/www/webalizer.perimeter.co.za" because that fits with the way I setup my virtual site as you see above. 2. So, instead of "/html/webalizer/name_of_website" , I have "/peri/www/webalizer.perimeter.co.za/docs.perimeter.co.za/" 3. And that's why I gave you the URL http://webalizer.perimeter.co.za/docs.perimeter.co.za/ For my customers I also create a symlink in their website directory which points to the same place. So it looks like there is a directory called /peri/www/docs.perimeter.co.za/webalizer/. Conceptually this is similar to the "or" part described in 2. From my server: # cd /peri/www/webalizer.perimeter.co.za/docs.perimeter.co.za/ # ls -al # ls -al total 182 drwxr-xr-x 2 www www 512 Aug 23 19:51 . drwxr-xr-x 13 www www 512 Aug 14 16:54 .. -rw-r--r-- 1 www www 2690 Aug 23 19:51 ctry_usage_200207.png -rw-r--r-- 1 www www 4647 Aug 23 19:51 ctry_usage_200208.png -rw-r--r-- 1 www www 2702 Aug 23 19:51 daily_usage_200207.png -rw-r--r-- 1 www www 3125 Aug 23 19:51 daily_usage_200208.png -rw-r--r-- 1 www www 1716 Aug 23 19:51 hourly_usage_200207.png -rw-r--r-- 1 www www 1991 Aug 23 19:51 hourly_usage_200208.png -rw-r--r-- 1 www www 4296 Aug 23 19:51 index.html -rw-r--r-- 1 www www 2341 Aug 23 19:51 usage.png -rw-r--r-- 1 www www 54718 Aug 23 19:51 usage_200207.html -rw-r--r-- 1 www www 97867 Aug 23 19:51 usage_200208.html Finally, here are the interesting lines from my webalizer.conf file for this same site (the rest of the conf file is still as it was installed: --- # Config file for Webalizer for docs.perimeter.co.za HostName docs.perimeter.co.za LogFile /peri/www/.log/docs.perimeter.co.za_access.log OutputDir /peri/www/webalizer.perimeter.co.za/docs.perimeter.co.za DNSCache /peri/www/webalizer.perimeter.co.za/.DNSCache DNSChildren 5 --- HTH. --- Regards, Patrick O'Reilly. ___ _ __ / _ )__ __ (_)_ __ ___ _/ /____ __ / __/ -_) _) / ~ ) -_), ,-/ -_) _) /_/ \__/_//_/_/~/_/\__/ \__/\__/_/ http://www.perimeter.co.za 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?00c401c24ad3$42c421a0$0200000a>